summaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2017-07-16 13:26:21 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2017-07-16 13:26:21 +0200
commit70cbefeb5ffcc57a7bb2de77fdfe2baf864743ea (patch)
tree49f097785ccfcc0cd31b17ef032e32b505ba896a /tests/server
parenta4bef6a91b3cba07078a03e927ed46c4dd768c39 (diff)
downloadcurl-70cbefeb5ffcc57a7bb2de77fdfe2baf864743ea.tar.gz
rtspd: fix MSVC level 4 warning
warning C4701: potentially uninitialized local variable 'req' used
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/rtspd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/rtspd.c b/tests/server/rtspd.c
index ae42f5a5f..07df6f5b2 100644
--- a/tests/server/rtspd.c
+++ b/tests/server/rtspd.c
@@ -1191,7 +1191,7 @@ int main(int argc, char *argv[])
int flag;
unsigned short port = DEFAULT_PORT;
const char *pidname = ".rtsp.pid";
- struct httprequest req;
+ struct httprequest req = {0};
int rc;
int error;
int arg=1;