summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-06-19 00:56:08 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-06-19 00:56:08 +0100
commit5e4f81bb6f0884dd4f8c0e7112646291dfbc5ca2 (patch)
treeac0b338c7ab3b2e175dbf858a66f458a23b165f7
parentf04316e3f0395e746b3047344d398ea281e0880e (diff)
efreet caceh - fix coverity report
fix CID 1429935
-rw-r--r--src/bin/efreet/efreet_icon_cache_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/efreet/efreet_icon_cache_create.c b/src/bin/efreet/efreet_icon_cache_create.c
index 6478df4dbd..44d6097b1b 100644
--- a/src/bin/efreet/efreet_icon_cache_create.c
+++ b/src/bin/efreet/efreet_icon_cache_create.c
@@ -316,6 +316,7 @@ cache_scan_path_dir(Efreet_Icon_Theme *theme,
316 unsigned int i; 316 unsigned int i;
317 317
318 ext = strrchr(scentry->path + scentry->name_start, '.'); 318 ext = strrchr(scentry->path + scentry->name_start, '.');
319 if (!ext) continue;
319 /* icon with known extension */ 320 /* icon with known extension */
320 name = scentry->path + scentry->name_start; 321 name = scentry->path + scentry->name_start;
321 *ext = '\0'; 322 *ext = '\0';