mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 02:18:06 +11:00
cfspack: silence compilation warning
This commit is contained in:
parent
c5c6ef4c6c
commit
40f56dd6dc
@ -88,7 +88,7 @@ int spitdir(char *path, char *prefix, char **patterns)
|
|||||||
fprintf(stderr, "Couldn't open directory.\n");
|
fprintf(stderr, "Couldn't open directory.\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
while (ep = readdir(dp)) {
|
while ((ep = readdir(dp))) {
|
||||||
if ((strcmp(ep->d_name, ".") == 0) || strcmp(ep->d_name, "..") == 0) {
|
if ((strcmp(ep->d_name, ".") == 0) || strcmp(ep->d_name, "..") == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user