Fix some compiler warnings

This commit is contained in:
djcb
2016-02-14 12:13:11 +02:00
parent b380e7d9c6
commit 8d4b866383
2 changed files with 3 additions and 4 deletions

View File

@ -580,7 +580,7 @@ clear_links (const gchar* dirname, DIR *dir, GError **err)
unsigned char d_type;
/* ignore empty, dot thingies */
if (!entry->d_name || entry->d_name[0] == '.')
if (entry->d_name[0] == '\0' || entry->d_name[0] == '.')
continue;
/* we have to copy the buffer from fullpath_s, because