diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-03 07:36:34 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-03 07:44:38 -0400 |
commit | fa102647598758a90ba78e22b3d13eb9ad584135 (patch) | |
tree | 49922b2283e72defceb20930ceed6539a1203ee3 /tools | |
parent | 5fbfe5203c5336bbc3c21b77492aded5037bdcd4 (diff) | |
download | gtk+-fa102647598758a90ba78e22b3d13eb9ad584135.tar.gz |
updateiconcache: Static analysis fixes
Diffstat (limited to 'tools')
-rw-r--r-- | tools/updateiconcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/updateiconcache.c b/tools/updateiconcache.c index 49732156f6..1618a6e40a 100644 --- a/tools/updateiconcache.c +++ b/tools/updateiconcache.c @@ -1007,8 +1007,7 @@ get_image_meta_data_size (Image *image) for (i = 0; data->display_names[i]; i++) { - int poolv; - if ((poolv = find_string (data->display_names[i])) == 0) + if (find_string (data->display_names[i]) == 0) { data->size += ALIGN_VALUE (strlen (data->display_names[i]) + 1, 4); /* Adding the string to the pool with -1 |