summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index cc634555..5336dc66 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -1087,7 +1087,6 @@ c_unparser::emit_functionsig (functiondecl* v)
}
-
void
c_unparser::emit_module_init ()
{
@@ -1131,6 +1130,7 @@ c_unparser::emit_module_init ()
o->newline() << "if (_stp_module_check()) rc = -EINVAL;";
o->newline(-1) << "}";
+
o->newline() << "if (rc) goto out;";
// initialize gettimeofday (if needed)