Browse Source

cfspack: silence compilation warning

pull/85/head
Virgil Dupras 4 years ago
parent
commit
40f56dd6dc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/cfspack/cfspack.c

+ 1
- 1
tools/cfspack/cfspack.c 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;
}


Loading…
Cancel
Save