summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hugin_syslog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hugin_syslog.c b/hugin_syslog.c
index d95d737..6803cc6 100644
--- a/hugin_syslog.c
+++ b/hugin_syslog.c
@@ -117,6 +117,7 @@ void hug_syslog_init(const char* host, int port)
if(f) {
char* s = NULL;
s = fgets(buf, SYSLOG_LENOFEXECNAME, f);
+ (void)s;
fclose(f);
}
@@ -128,8 +129,6 @@ void hug_syslog_init(const char* host, int port)
strcpy(execname, "\0");
}
- (void)s;
-
// printf("\tRunning as %s with pid %d\n", execname, pid);
}