SF Bug Tracker id 3499878 - UpnpUnSubscribeAsync(): ‘retVal’ may be used uninitialized

Submitted: Marcelo Roberto Jimenez ( mroberto ) - 2012-03-08 12:38:57 PST

src/api/upnpapi.c: In function ‘UpnpUnSubscribeAsync’:
src/api/upnpapi.c:2060:6: warning: ‘retVal’ may be used uninitialized in this function
This commit is contained in:
Marcelo Roberto Jimenez 2012-03-08 17:42:02 -03:00
parent 2fb791c9bb
commit 29ee36b1ca
2 changed files with 10 additions and 1 deletions

View File

@ -2,6 +2,15 @@
Version 1.6.16
*******************************************************************************
2012-03-08 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
SF Bug Tracker id 3499878 - UpnpUnSubscribeAsync(): retVal may be used uninitialized
Submitted: Marcelo Roberto Jimenez ( mroberto ) - 2012-03-08 12:38:57 PST
src/api/upnpapi.c: In function UpnpUnSubscribeAsync:
src/api/upnpapi.c:2060:6: warning: retVal may be used uninitialized in this function
2012-03-08 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net>
SF Bug Tracker id 3175217 - Crash bug in Parser_addNamespace()

View File

@ -2024,7 +2024,7 @@ int UpnpUnSubscribeAsync(
Upnp_FunPtr Fun,
const void *Cookie_const)
{
int retVal;
int retVal = UPNP_E_SUCCESS;
ThreadPoolJob job;
struct Handle_Info *SInfo = NULL;
struct UpnpNonblockParam *Param;