From: Marcel Raad Date: Sun, 16 Jul 2017 11:26:21 +0000 (+0200) Subject: rtspd: fix MSVC level 4 warning X-Git-Tag: curl-7_55_0~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70cbefeb5ffcc57a7bb2de77fdfe2baf864743ea;p=curl rtspd: fix MSVC level 4 warning warning C4701: potentially uninitialized local variable 'req' used --- 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;