mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 08:32:07 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user