summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 50ee563a..449d7cc0 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -5812,7 +5812,8 @@ dwarf_builder::build(systemtap_session & sess,
&& dw->function_name_matches_pattern
(probe_name.c_str(),
location->components[1]->arg->tok->content.c_str())))
- ;
+ {
+ }
else
continue;
const token* sv_tok = location->components[1]->arg->tok;
@@ -5833,7 +5834,7 @@ dwarf_builder::build(systemtap_session & sess,
return;
}
- if (probe_type == dwarf_no_probes)
+ else if (probe_type == dwarf_no_probes)
{
location->components[1]->functor = TOK_FUNCTION;
location->components[1]->arg = new literal_string("*");