diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx index 0c51e86de..acce4b047 100644 --- a/Source/Modules/main.cxx +++ b/Source/Modules/main.cxx @@ -992,8 +992,6 @@ int SWIG_main(int argc, char *argv[], Language *l) { } if (cpp_only) { Printf(stdout, "%s", cpps); - while (freeze) { - } SWIG_exit(EXIT_SUCCESS); } if (depend) {