diff options
| -rw-r--r-- | test/threads.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/threads.cxx b/test/threads.cxx index df2c4920a..eece135f7 100644 --- a/test/threads.cxx +++ b/test/threads.cxx @@ -108,6 +108,11 @@ void* prime_func(void* p) Fl::unlock(); } } + // This return can never be reached and thus will generate a warning with + // some compilers, however we need to have a return statement or other + // compilers will complain there is no return statement... You can't + // win sometimes... :( + return 0; } int main(int argc, char **argv) |
