summaryrefslogtreecommitdiff
path: root/hugin.c
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-02 08:35:47 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-02 08:35:47 +0200
commitda885331dbf361b0c4593b3d0971fd361a080ce7 (patch)
tree4824015231dc31b540e87d47fabc16060fcae081 /hugin.c
parent821f89af338ee9ca9aaa01a44f192f4390edb110 (diff)
Remove 'unused variable' warning.
Diffstat (limited to 'hugin.c')
-rw-r--r--hugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hugin.c b/hugin.c
index a24a929..9a7e7a1 100644
--- a/hugin.c
+++ b/hugin.c
@@ -318,6 +318,9 @@ static int hug_output_fd(int fd, const char *msg, int withdate)
if(msg[strlen(msg) - 1] != '\n') {
s = write(fd, "\n", 1);
}
+
+ (void)s;
+
return 0;
}