Rats, Sun's compilers error out if there is no return statement in the

thread function, so we'll have to just live with the "statement unreachable"
warning...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2007-05-20 16:03:55 +00:00
parent 7697347fd4
commit 56a50b9f0e
+5
View File
@@ -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)