From 62d7c40250415cad65e44cfe00f75f55edea36e3 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 1 Jul 2013 13:57:50 +0200 Subject: [PATCH 4/4] fix compiler warning: variable 'retval' set but not used make it build with -Wall -Werror --- src/haserl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/haserl.c b/src/haserl.c index 22ac396..6b346c0 100644 --- a/src/haserl.c +++ b/src/haserl.c @@ -692,7 +692,6 @@ main (int argc, char *argv[]) #endif script_t *scriptchain; - int retval = 0; char *filename = NULL; argv_t *av = NULL; @@ -878,8 +877,8 @@ main (int argc, char *argv[]) if (strcasecmp (getenv ("REQUEST_METHOD"), "POST") == 0) { if (global.acceptall == TRUE) - retval = ReadCGIQueryString (env); - retval = ReadCGIPOSTValues (env); + ReadCGIQueryString (env); + ReadCGIPOSTValues (env); } } } -- 1.8.3.2