diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-06-29 18:27:07 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-06-29 18:27:07 +0000 |
| commit | 601e86fba5972dc8e431a34d95988647a1f5e47b (patch) | |
| tree | 63096debdd467ffa58787bf5f17fecfdcc0c919e | |
| parent | 90f6c8ee26365d388fabaed02fe45784b3905a87 (diff) | |
CMake: fix potential compiler warning in test file.
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
| -rw-r--r-- | CMake/posixScandir.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/posixScandir.cxx b/CMake/posixScandir.cxx index ea57e9ce2..8b91428b5 100644 --- a/CMake/posixScandir.cxx +++ b/CMake/posixScandir.cxx @@ -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() { |
