]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sws.c: Fixed compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Sat, 6 Dec 2014 22:18:42 +0000 (22:18 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 6 Dec 2014 22:18:42 +0000 (22:18 +0000)
sws.c:2191 warning: 'rc' may be used uninitialized in this function

tests/server/sws.c

index 14153c6da1cd01e33bc8c1e3c7503740e912df7e..324ec2359b87742d1da95c7c1b2fb120d3452a09 100644 (file)
@@ -1960,7 +1960,7 @@ int main(int argc, char *argv[])
 #endif
   char *pidname= (char *)".http.pid";
   struct httprequest req;
-  int rc;
+  int rc = 0;
   int error;
   int arg=1;
   long pid;