From 8077d716435fdcc3c0ddc8f468b664b2fa2dfa77 Mon Sep 17 00:00:00 2001 From: Abhimanyu Swami Date: Tue, 22 Sep 2020 07:07:52 +0000 Subject: [PATCH] Revert "Coverity issue fix" This reverts commit 7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51. Change-Id: I1217b43336ca039b27a849acb6cd0de6a6fcaf08 --- plugin/mms_plugin/MmsPluginInternal.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/mms_plugin/MmsPluginInternal.cpp b/plugin/mms_plugin/MmsPluginInternal.cpp index febe5ae..3a21279 100755 --- a/plugin/mms_plugin/MmsPluginInternal.cpp +++ b/plugin/mms_plugin/MmsPluginInternal.cpp @@ -751,8 +751,7 @@ void MmsPluginInternal::processRetrieveConf(MSG_MESSAGE_INFO_S *pMsgInfo, mmsTra char fullPath[MAX_FULL_PATH_SIZE+1] = {0, }; - if (pRetrievedFilePath != NULL) - filename = MsgGetFileName(pRetrievedFilePath); + filename = MsgGetFileName(pRetrievedFilePath); snprintf(fullPath, MAX_FULL_PATH_SIZE+1, "%s%s", MSG_IPC_DATA_PATH, filename); -- 2.7.4