]> granicus.if.org Git - curl/commitdiff
parseconfig: Value stored to 'line' is never read
authorDaniel Stenberg <daniel@haxx.se>
Sat, 17 Apr 2010 16:59:54 +0000 (18:59 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 17 Apr 2010 16:59:54 +0000 (18:59 +0200)
Make the function call with (void) as we don't care about the
return code.

src/main.c

index 6e3ef3d6a2312ac5df6d84ad6f920931f7e1fc52..0670b5f5cd989f496d32bdd5e832fb07e0b81d7a 100644 (file)
@@ -3247,7 +3247,7 @@ static int parseconfig(const char *filename,
           break;
         }
         alloced_param=TRUE;
-        line = (char*) unslashquote(line, param);
+        (void)unslashquote(line, param);
       }
       else {
         param=line; /* parameter starts here */