From 70cbefeb5ffcc57a7bb2de77fdfe2baf864743ea Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Sun, 16 Jul 2017 13:26:21 +0200 Subject: rtspd: fix MSVC level 4 warning warning C4701: potentially uninitialized local variable 'req' used --- tests/server/rtspd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/server') 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; -- cgit v1.2.3