This patch contains some cleanup for compiler warnings and a comment typo fix
--- WINGs/error.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/WINGs/error.c b/WINGs/error.c index e129eee..61c3cc0 100644 --- a/WINGs/error.c +++ b/WINGs/error.c @@ -46,6 +46,8 @@ void syslog_open(char *prog_name) options = LOG_PID; openlog(prog_name, options, LOG_DAEMON); syslog_initialized = True; +#else + (void) prog_name; #endif } @@ -55,8 +57,12 @@ void syslog_message(int prio, char *prog_name, char *msg) if (!syslog_initialized) syslog_open(prog_name); - //jump other the program name cause syslog is already displaying it + //jump over the program name cause syslog is already displaying it syslog(prio, "%s", msg+strlen(prog_name)); +#else + (void) prio; + (void) prog_name; + (void) msg; #endif } -- 1.8.3.2
0001-Removed-warning-msgs-from-compiler.patch
Description: Binary data
