aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-06 22:18:42 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-06 22:18:42 +0000
commitf5e9c636e83b8808d6b278fbcd5e1a082b1403c5 (patch)
tree9c9ba1c50efea204a9621aabe25f7e13c4f3a6bb
parentef91f04927f366366bbdd17774b462351becb3b8 (diff)
sws.c: Fixed compilation warning
sws.c:2191 warning: 'rc' may be used uninitialized in this function
-rw-r--r--tests/server/sws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 14153c6da..324ec2359 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -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;