summaryrefslogtreecommitdiff
path: root/core/src/xmake/path/relative.c
diff options
context:
space:
mode:
authorruki <[email protected]>2022-03-09 23:25:38 +0800
committerruki <[email protected]>2022-03-09 23:25:38 +0800
commitfa2e4a9a5f21a8819beafb99a85652d83b7e5429 (patch)
tree8ae328914c4dd54012e0cf6cc013547acaa4caeb /core/src/xmake/path/relative.c
parent4eb65435961776fbefcc11ed774b778532c2c8dd (diff)
improve path.directory
Diffstat (limited to 'core/src/xmake/path/relative.c')
-rw-r--r--core/src/xmake/path/relative.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/xmake/path/relative.c b/core/src/xmake/path/relative.c
index 782f0f635..f64667747 100644
--- a/core/src/xmake/path/relative.c
+++ b/core/src/xmake/path/relative.c
@@ -48,7 +48,5 @@ tb_int_t xm_path_relative(lua_State* lua)
// done path:relative(root)
tb_char_t data[TB_PATH_MAXN];
lua_pushstring(lua, tb_path_relative_to(root, path, data, sizeof(data) - 1));
-
- // ok
return 1;
}