diff options
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx index 2c4e503e..c2146e84 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1007,6 +1007,7 @@ c_unparser::emit_module_init () o->newline(1) << "int rc = 0;"; o->newline() << "const char *probe_point = \"\";"; + o->newline() << "(void) probe_point;"; o->newline() << "atomic_set (&session_state, STAP_SESSION_STARTING);"; // This signals any other probes that may be invoked in the next little // while to abort right away. Currently running probes are allowed to @@ -1298,6 +1299,8 @@ c_unparser::emit_locks(const varuse_collecting_visitor& vut) last_locked_var = v->name; } + o->newline() << "if (0) goto unlock_;"; + o->newline(-1) << "}"; } |