cfspack: silence compilation warning

This commit is contained in:
Virgil Dupras 2019-12-31 13:08:24 -05:00
parent c5c6ef4c6c
commit 40f56dd6dc
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ int spitdir(char *path, char *prefix, char **patterns)
fprintf(stderr, "Couldn't open directory.\n");
return 1;
}
while (ep = readdir(dp)) {
while ((ep = readdir(dp))) {
if ((strcmp(ep->d_name, ".") == 0) || strcmp(ep->d_name, "..") == 0) {
continue;
}