aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBuddy Liong2014-08-25 16:33:13 -0500
committerBuddy Liong2014-09-02 15:48:10 -0500
commit1916cfef94c4ee41c2beedc9cd87b8916ad29895 (patch)
tree6c5e0d047f865670ee4295a41adf53359fb3b85e /libdce.c
parent16c81c0153b31325782464f751915476fa4f3028 (diff)
downloadrepo-libdce-1916cfef94c4ee41c2beedc9cd87b8916ad29895.tar.gz
repo-libdce-1916cfef94c4ee41c2beedc9cd87b8916ad29895.tar.xz
repo-libdce-1916cfef94c4ee41c2beedc9cd87b8916ad29895.zip
Fixing Klocwork finding
Running Klocwork stand-alone, it reports 19-20 issues. This task submitted to resolve the found issues. Change-Id: I98150d4262ee5b1ab85cb1a7c0e697dcadb4a665 Signed-off-by: Buddy Liong <buddy.budiono@ti.com>
Diffstat (limited to 'libdce.c')
-rw-r--r--libdce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdce.c b/libdce.c
index 3d4765b..7f15344 100644
--- a/libdce.c
+++ b/libdce.c
@@ -404,7 +404,7 @@ EXIT:
404static XDAS_Int32 control(void *codec, int id, void *dynParams, void *status, dce_codec_type codec_id) 404static XDAS_Int32 control(void *codec, int id, void *dynParams, void *status, dce_codec_type codec_id)
405{ 405{
406 MmRpc_FxnCtx fxnCtx; 406 MmRpc_FxnCtx fxnCtx;
407 int32_t fxnRet; 407 int32_t fxnRet = XDM_EFAIL;
408 dce_error_status eError = DCE_EOK; 408 dce_error_status eError = DCE_EOK;
409 int coreIdx = INVALID_CORE; 409 int coreIdx = INVALID_CORE;
410 410
@@ -462,7 +462,7 @@ static XDAS_Int32 get_version(void *codec, void *dynParams, void *status, dce_co
462 MmRpc_FxnCtx fxnCtx; 462 MmRpc_FxnCtx fxnCtx;
463 MmRpc_Xlt xltAry; 463 MmRpc_Xlt xltAry;
464 void * *version_buf = NULL; 464 void * *version_buf = NULL;
465 int32_t fxnRet; 465 int32_t fxnRet = XDM_EFAIL;
466 dce_error_status eError = DCE_EOK; 466 dce_error_status eError = DCE_EOK;
467 int coreIdx = INVALID_CORE; 467 int coreIdx = INVALID_CORE;
468 468