summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-31 11:41:10 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-31 11:41:10 +0900
commitf4ce0d1b953fdb1a2b9974f0080febe937bb0ba8 (patch)
treea8f2b9baeade3dc3c0eef3cd8c21eed62efa9f81
parent0efb70e31743f4ac09b9586154d489c48de750f8 (diff)
efreet icon cache creation binary - remove redundent check
found by PVS studio
-rw-r--r--src/bin/efreet/efreet_icon_cache_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/efreet/efreet_icon_cache_create.c b/src/bin/efreet/efreet_icon_cache_create.c
index 6fc709ff23..5fe2fe3ff0 100644
--- a/src/bin/efreet/efreet_icon_cache_create.c
+++ b/src/bin/efreet/efreet_icon_cache_create.c
@@ -929,9 +929,9 @@ main(int argc, char **argv)
929 icon_ef = eet_open(efreet_icon_cache_file(theme->theme.name.internal), EET_FILE_MODE_READ_WRITE); 929 icon_ef = eet_open(efreet_icon_cache_file(theme->theme.name.internal), EET_FILE_MODE_READ_WRITE);
930 if (!icon_ef) goto on_error_efreet; 930 if (!icon_ef) goto on_error_efreet;
931 icon_version = eet_data_read(icon_ef, efreet_version_edd(), EFREET_CACHE_VERSION); 931 icon_version = eet_data_read(icon_ef, efreet_version_edd(), EFREET_CACHE_VERSION);
932 if (theme->changed || !icon_version || (icon_version && 932 if ((theme->changed) || (!icon_version) ||
933 ((icon_version->major != EFREET_ICON_CACHE_MAJOR) || 933 ((icon_version->major != EFREET_ICON_CACHE_MAJOR) ||
934 (icon_version->minor != EFREET_ICON_CACHE_MINOR)))) 934 (icon_version->minor != EFREET_ICON_CACHE_MINOR)))
935 { 935 {
936 // delete old cache 936 // delete old cache
937 eet_close(icon_ef); 937 eet_close(icon_ef);