Fix svace error 82/202582/1 accepted/tizen/unified/20190402.071855 submit/tizen/20190401.070231
authorKiseok Chang <kiso.chang@samsung.com>
Mon, 1 Apr 2019 06:54:52 +0000 (15:54 +0900)
committerKiseok Chang <kiso.chang@samsung.com>
Mon, 1 Apr 2019 06:56:05 +0000 (15:56 +0900)
- fix statement to check return value from media_info_get_file_path

Change-Id: I9fa76e1fe70060a87c8faad224ae4be85d486c97
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
setting-storage/src/setting-storage-miscellaneous.c

index ea26b06380ab788fae5f177500a34345a72f79e3..a29c261ec0bfa45ed86e742cad603a7058761b2b 100755 (executable)
@@ -279,7 +279,7 @@ static bool __media_item_cb(media_info_h media, void *data)
 
        retv_if((!media || !data), true);
 
-       media_info_get_file_path(media, &file_path);
+       ret = media_info_get_file_path(media, &file_path);
        retv_if(MEDIA_CONTENT_ERROR_NONE != ret, true);
 
        if (!ecore_file_exists(file_path)) {