diff options
author | rbuj <[email protected]> | 2022-01-04 10:08:07 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2022-01-18 01:54:58 +0000 |
commit | a3807f46f81745f4125460bb7e92b4c417573bb8 (patch) | |
tree | 510aabc4c145c73c1769bef4aa4d7a11d8742e1b | |
parent | 273a3c7aa035d3b7a53f181dd4f3a88ad0b94922 (diff) | |
download | mate-panel-a3807f46f81745f4125460bb7e92b4c417573bb8.tar.bz2 mate-panel-a3807f46f81745f4125460bb7e92b4c417573bb8.tar.xz |
panel-run-dialog: address of array 'dent->d_name' will always evaluate to 'true'
-rw-r--r-- | mate-panel/panel-run-dialog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c index a033fe1f..e426cd56 100644 --- a/mate-panel/panel-run-dialog.c +++ b/mate-panel/panel-run-dialog.c @@ -1317,8 +1317,7 @@ fill_files_from (const char *dirname, char *item; const char *suffix; - if (!dent->d_name || - dent->d_name [0] != prefix) + if (dent->d_name [0] != prefix) continue; file = g_build_filename (dirname, dent->d_name, NULL); |