summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-12-05 11:36:12 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-12-05 11:36:12 -0500
commita87d1bf186b8060231a374334e399737f6d860a4 (patch)
treedc2b9936968ab575e21a62fa9e500ec8f166cdb4 /elaborate.cxx
parent0dc343224e63d8c6f2ba4f0688c93c8c9b5781b6 (diff)
parentb58523345ea01d313672f6896b02b447b6d1d82a (diff)
downloadsystemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.tar.gz
systemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.tar.xz
systemtap-steved-a87d1bf186b8060231a374334e399737f6d860a4.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
* 'master' of ssh://sources.redhat.com/git/systemtap: PR7051: Remove broken printf %n directive support
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index edd4668d..ba1cb79c 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1167,7 +1167,7 @@ void add_global_var_display (systemtap_session& s)
|| vut.written.find (l) == vut.written.end())
continue;
- // Don't generate synthetic end probes for unread globals
+ // Don't generate synthetic end probes for unread globals
// declared only within tapsets. (RHBZ 468139), but rather
// only within the end-user script.
@@ -3902,8 +3902,7 @@ typeresolution_info::visit_print_format (print_format* e)
if (e->components[i].type == print_format::conv_unspecified)
throw semantic_error ("Unspecified conversion in print operator format string",
e->tok);
- else if (e->components[i].type == print_format::conv_literal
- || e->components[i].type == print_format::conv_size)
+ else if (e->components[i].type == print_format::conv_literal)
continue;
components.push_back(e->components[i]);
++expected_num_args;
@@ -3945,7 +3944,6 @@ typeresolution_info::visit_print_format (print_format* e)
{
case print_format::conv_unspecified:
case print_format::conv_literal:
- case print_format::conv_size:
assert (false);
break;