]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_minivm: Fix possible uninitialized return value.
authorCorey Farrell <git@cfware.com>
Sun, 19 Nov 2017 01:29:16 +0000 (20:29 -0500)
committerCorey Farrell <git@cfware.com>
Sun, 19 Nov 2017 01:37:06 +0000 (19:37 -0600)
commit3dca4c774201d8b0eca5b9ecf34ffd1db53a200c
treee61108f2b79cb83ae0bc2ea43a576930762ed883
parentef8ee3ee69fb1b2f9bb2694217d8dfdf124d251f
app_minivm: Fix possible uninitialized return value.

Declare 'res' initialized to -1 to deal with earlier error paths that
could cause 'res' to be returned uninitialized.

Change-Id: I8ac2a5755bf4174d89ef893e924c940f702b104e
apps/app_minivm.c