diff options
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_compile.c | 2 | ||||
-rw-r--r-- | src/logic/slbt_exec_execute.c | 1 | ||||
-rw-r--r-- | src/logic/slbt_exec_link.c | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c index ec19c22..3d04304 100644 --- a/src/logic/slbt_exec_compile.c +++ b/src/logic/slbt_exec_compile.c @@ -18,6 +18,8 @@ static int slbt_exec_compile_remove_file( struct slbt_exec_ctx * ectx, const char * target) { + (void)ectx; + /* remove target (if any) */ if (!(unlink(target)) || (errno == ENOENT)) return 0; diff --git a/src/logic/slbt_exec_execute.c b/src/logic/slbt_exec_execute.c index 7df18b2..33f7858 100644 --- a/src/logic/slbt_exec_execute.c +++ b/src/logic/slbt_exec_execute.c @@ -18,7 +18,6 @@ int slbt_exec_execute( struct slbt_exec_ctx * ectx) { int ret; - char ** parg; char * program; char * script; char * base; diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 5538d6d..0230051 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -398,6 +398,8 @@ static int slbt_exec_link_remove_file( struct slbt_exec_ctx * ectx, const char * target) { + (void)ectx; + /* remove target (if any) */ if (!(unlink(target)) || (errno == ENOENT)) return 0; |