Skip to content

Commit

Permalink
CMake: fix potential compiler warning in test file.
Browse files Browse the repository at this point in the history
clang reports: control reaches end of non-void function [-Wreturn-type]


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Albrecht Schlosser committed Jun 29, 2017
1 parent 90f6c8e commit 601e86f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMake/posixScandir.cxx
Expand Up @@ -3,6 +3,7 @@

int func (const char *d, dirent ***list, void *sort) {
int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
return n;
}

int main() {
Expand Down

0 comments on commit 601e86f

Please sign in to comment.