summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-02 08:37:05 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-02 08:37:05 +0200
commitbb7388b685ed043b4a3030da86f7f1e491414773 (patch)
treed0bcc51bb82478f2e1d58a1c8dc37db7042344d9
parentb969ffda85ff02400bd2124ccb9ce78c236b910f (diff)
Remove 'unused variable' warning.20130503
-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);
}