Squish various compiler warnings
* CPP's defined() is UB outside of a #if line * Use (void)! cast to prevent recent GCCs & glibc from warning about ignoring the return status from chdir()
This commit is contained in:
1 parent
ac6eb5e212
commit
cb5f68994f
3 files changed
+11
-6
No files matched your search
@@ -90,7 +90,7 @@ int main(int argc, char* argv[])
|
||||
(void)detachinout;
|
||||
#endif
|
||||
|
||||
chdir ( "/" );
|
||||
(void)! chdir ( "/" );
|
||||
ca_repeater ();
|
||||
return ( 0 );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user