mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
don'r check d_name
d_name is not a pointer, just like clang warns
This commit is contained in:
parent
448ec62f85
commit
f287890d65
1 changed files with 1 additions and 1 deletions
2
menu.c
2
menu.c
|
@ -937,7 +937,7 @@ static int scandir_filter(const struct dirent *ent)
|
||||||
const char *ext;
|
const char *ext;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (ent == NULL || ent->d_name == NULL)
|
if (ent == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
switch (ent->d_type) {
|
switch (ent->d_type) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue