summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-09-02 22:15:13 +0000
committerfche <fche>2005-09-02 22:15:13 +0000
commit0fd38b21b246d5da3edb3ee82529f19957cec11b (patch)
treee801e6a67c47520e379688d334560bd2fce1e4cc /translate.cxx
parent4d2339a1fcab5fe48da37a475ca13c576463669d (diff)
downloadsystemtap-steved-0fd38b21b246d5da3edb3ee82529f19957cec11b.tar.gz
systemtap-steved-0fd38b21b246d5da3edb3ee82529f19957cec11b.tar.xz
systemtap-steved-0fd38b21b246d5da3edb3ee82529f19957cec11b.zip
fix indentation errors in output
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/translate.cxx b/translate.cxx
index ba544934..18b05666 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -884,10 +884,7 @@ c_unparser::emit_probe (derived_probe* v, unsigned i)
this->current_probenum = 0; // not essential
o->newline(-1) << "out:";
- o->newline(1) << ";";
-
- // XXX: uninitialize locals
-
+ // NB: no need to uninitialize locals, except if arrays can somedays be local
o->newline(1) << "_stp_print_flush();";
o->newline(-1) << "}" << endl;
@@ -2386,7 +2383,7 @@ translate_pass (systemtap_session& s)
s.op->newline(-1) << "}";
s.op->newline();
s.op->newline() << "void probe_exit () {";
- s.op->newline() << "systemtap_module_exit ();";
+ s.op->newline(1) << "systemtap_module_exit ();";
s.op->newline(-1) << "}";
s.op->newline() << "MODULE_DESCRIPTION(\"systemtap probe\");";