summaryrefslogtreecommitdiff
path: root/core/src/xmake/string
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-19 23:48:25 +0800
committerruki <[email protected]>2021-09-19 23:48:25 +0800
commit33b05eff154f9158a68b0808f4be0f6c88aa6361 (patch)
treee1237eaf2a55ded0f55823562a712fd4cac0c1a8 /core/src/xmake/string
parent974ae1de229ee3077c868da14adebc11ddac42ac (diff)
add libc module
Diffstat (limited to 'core/src/xmake/string')
-rw-r--r--core/src/xmake/string/endswith.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/xmake/string/endswith.c b/core/src/xmake/string/endswith.c
index df574b657..8f64dbda6 100644
--- a/core/src/xmake/string/endswith.c
+++ b/core/src/xmake/string/endswith.c
@@ -48,7 +48,6 @@ tb_int_t xm_string_endswith(lua_State* lua)
// string:endswith(suffix)?
lua_pushboolean(lua, string_size >= suffix_size && !tb_strcmp(string + string_size - suffix_size, suffix));
-
// ok
return 1;
}