gcc-4.3 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
462304094b
commit
3e1799e7da
1 changed files with 6 additions and 4 deletions
|
|
@ -992,7 +992,8 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
|||
}
|
||||
if (cpp_only) {
|
||||
Printf(stdout, "%s", cpps);
|
||||
while (freeze);
|
||||
while (freeze) {
|
||||
}
|
||||
SWIG_exit(EXIT_SUCCESS);
|
||||
}
|
||||
if (depend) {
|
||||
|
|
@ -1161,8 +1162,8 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
|||
Delete(libfiles);
|
||||
Preprocessor_delete();
|
||||
|
||||
while (freeze);
|
||||
|
||||
while (freeze) {
|
||||
}
|
||||
|
||||
if ((werror) && (Swig_warn_count())) {
|
||||
return Swig_warn_count();
|
||||
|
|
@ -1177,6 +1178,7 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
|||
// --------------------------------------------------------------------------
|
||||
|
||||
void SWIG_exit(int exit_code) {
|
||||
while (freeze);
|
||||
while (freeze) {
|
||||
}
|
||||
exit(exit_code);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue