diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 2 | ||||
-rw-r--r-- | src/internal/argv/argv.h | 2 | ||||
-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 | ||||
-rw-r--r-- | src/slibtool.c | 1 |
6 files changed, 9 insertions, 1 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 1dc1358..8d8faa9 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -82,6 +82,8 @@ static void slbt_output_raw_vector(char ** argv, char ** envp) const char * color; bool fcolor; + (void)envp; + if ((fcolor = isatty(STDOUT_FILENO))) fprintf(stderr,"%s%s",aclr_bold,aclr_red); diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h index 81ab50e..d1ef9de 100644 --- a/src/internal/argv/argv.h +++ b/src/internal/argv/argv.h @@ -591,6 +591,8 @@ static void argv_show_status( char short_name[2] = {0}; const char * space = ""; + (void)ctx; + fputs("\n\nconcatenated command line:\n",stderr); for (argv=meta->argv; *argv; argv++) { fprintf(stderr,"%s%s",space,*argv); 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; diff --git a/src/slibtool.c b/src/slibtool.c index 3cce2ca..dac0153 100644 --- a/src/slibtool.c +++ b/src/slibtool.c @@ -66,6 +66,7 @@ static void slibtool_perform_driver_actions(struct slbt_driver_ctx * dctx) static void slibtool_perform_unit_actions(struct slbt_unit_ctx * uctx) { + (void)uctx; } static int slibtool_exit(struct slbt_driver_ctx * dctx, int nerrors) |