From 3b3c07ec68529685b208e1808c66e71dfe8b8ede Mon Sep 17 00:00:00 2001
Subject: [PATCH] Removed warning msgs from compiler

---
 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

