1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

rtspd: fix MSVC level 4 warning

warning C4701: potentially uninitialized local variable 'req' used
This commit is contained in:
Marcel Raad 2017-07-16 13:26:21 +02:00
parent a4bef6a91b
commit 70cbefeb5f
No known key found for this signature in database
GPG Key ID: 07ADACB610D796DA

View File

@ -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;