From da885331dbf361b0c4593b3d0971fd361a080ce7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 2 May 2013 08:35:47 +0200 Subject: Remove 'unused variable' warning. --- hugin.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- cgit v1.2.3