diff options
author | Dave Brolley <brolley@redhat.com> | 2009-04-15 11:57:50 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-04-15 11:57:50 -0400 |
commit | 44602d5b700d547cb1d560e90c0187c3fe66d613 (patch) | |
tree | 7d7d423e761b117e4e10510f6a135d9160a7fc65 /elaborate.cxx | |
parent | 6c39ba6093aa0b3b86aa7e6f17a23ef322bd67cd (diff) | |
parent | 7a51212ca1895b85f400fafe0e5198525996af1d (diff) | |
download | systemtap-steved-44602d5b700d547cb1d560e90c0187c3fe66d613.tar.gz systemtap-steved-44602d5b700d547cb1d560e90c0187c3fe66d613.tar.xz systemtap-steved-44602d5b700d547cb1d560e90c0187c3fe66d613.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'elaborate.cxx')
-rw-r--r-- | elaborate.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elaborate.cxx b/elaborate.cxx index 323261c7..b760173f 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -2433,7 +2433,8 @@ void semantic_pass_opt4 (systemtap_session& s, bool& relaxed_p) p->body = duv.require(p->body, true); if (p->body == 0) { - if (! s.suppress_warnings) + if (! s.suppress_warnings + && ! s.timing) // PR10070 s.print_warning ("side-effect-free probe '" + p->name + "'", p->tok); p->body = new null_statement(); |