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
(cherry picked from commit 29ee36b1ca)
This commit is contained in:
Marcelo Roberto Jimenez 2012-03-08 17:42:02 -03:00
parent 027ce49600
commit 4bd3b6b969
2 changed files with 10 additions and 1 deletions

View File

@ -318,6 +318,15 @@ Version 1.8.0
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

@ -2057,7 +2057,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;