notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448ec62
)
don'r check d_name
author
notaz
<notasas@gmail.com>
Fri, 13 Oct 2017 23:12:21 +0000
(
02:12
+0300)
committer
notaz
<notasas@gmail.com>
Fri, 13 Oct 2017 23:12:21 +0000
(
02:12
+0300)
d_name is not a pointer, just like clang warns
menu.c
patch
|
blob
|
blame
|
history
diff --git
a/menu.c
b/menu.c
index
f1b1957
..
c145f26
100644
(file)
--- a/
menu.c
+++ b/
menu.c
@@
-937,7
+937,7
@@
static int scandir_filter(const struct dirent *ent)
const char *ext;
\r
int i;
\r
\r
- if (ent == NULL
|| ent->d_name == NULL
)
\r
+ if (ent == NULL)
\r
return 0;
\r
\r
switch (ent->d_type) {
\r