efreet caceh - fix coverity report

fix CID 1429935
This commit is contained in:
Carsten Haitzler 2020-06-19 00:56:08 +01:00
parent f04316e3f0
commit 5e4f81bb6f
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,7 @@ cache_scan_path_dir(Efreet_Icon_Theme *theme,
unsigned int i;
ext = strrchr(scentry->path + scentry->name_start, '.');
if (!ext) continue;
/* icon with known extension */
name = scentry->path + scentry->name_start;
*ext = '\0';