gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 147/208: rtspd: fix MSVC level 4 warning


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 147/208: rtspd: fix MSVC level 4 warning
Date: Wed, 09 Aug 2017 17:35:44 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit 70cbefeb5ffcc57a7bb2de77fdfe2baf864743ea
Author: Marcel Raad <address@hidden>
AuthorDate: Sun Jul 16 13:26:21 2017 +0200

    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(-)

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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]