diff options
author | Sam Nelson <sam.nelson@ti.com> | 2019-10-07 21:11:05 -0400 |
---|---|---|
committer | Sam Nelson <sam.nelson@ti.com> | 2019-10-08 15:51:06 -0400 |
commit | 9917390bcd570a7ff2bfab6bee549b1ec734f474 (patch) | |
tree | 0cd071b891fca0032a46f144357742b5fa7582c3 | |
parent | 85e520ec41b524260c47a46f3db0de1de728ae8c (diff) | |
download | ipc-9917390bcd570a7ff2bfab6bee549b1ec734f474.tar.gz |
NotifySetup: Initialize retval
This is to avoid uninitialized variable usage
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r-- | packages/ti/sdo/ipc/family/am65xx/NotifySetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ti/sdo/ipc/family/am65xx/NotifySetup.c b/packages/ti/sdo/ipc/family/am65xx/NotifySetup.c index 67265fc..b952496 100644 --- a/packages/ti/sdo/ipc/family/am65xx/NotifySetup.c +++ b/packages/ti/sdo/ipc/family/am65xx/NotifySetup.c @@ -238,11 +238,11 @@ Void NotifySetup_plugHwi(UInt16 remoteProcId, Int cpuIntrNum, UInt key; Hwi_Params hwiParams; UInt16 srcVirtId; + int retVal = -1; #if defined(xdc_target__isaCompatible_v7R) \ || defined(xdc_target__isaCompatible_v8A) UInt16 idx; UInt mbxIdx; - int retVal; #endif #if defined(xdc_target__isaCompatible_v7R) |