Revert "Coverity issue fix" 95/244595/1 submit/tizen/20200924.110135
authorAbhimanyu Swami <abhimanyu1.s@samsung.com>
Tue, 22 Sep 2020 07:07:52 +0000 (07:07 +0000)
committerAbhimanyu Swami <abhimanyu1.s@samsung.com>
Tue, 22 Sep 2020 07:07:52 +0000 (07:07 +0000)
This reverts commit 7d0f210ac2f32c64dd71bbe82ba19e4e6af51d51.

Change-Id: I1217b43336ca039b27a849acb6cd0de6a6fcaf08

plugin/mms_plugin/MmsPluginInternal.cpp

index febe5ae..3a21279 100755 (executable)
@@ -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);