From 1489c4a3eee2b34dc36c902d9db7f1893c5884f7 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 2 May 2012 10:39:15 +0200 Subject: [PATCH] better mark warnings --- misc/tools/progs-analyzer.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools/progs-analyzer.pl b/misc/tools/progs-analyzer.pl index 9f45e52a..b1eb5933 100644 --- a/misc/tools/progs-analyzer.pl +++ b/misc/tools/progs-analyzer.pl @@ -491,7 +491,7 @@ sub disassemble_function($$;$) for(@$_) { print PRE_MARK_STATEMENT; - printf INSTRUCTION_FORMAT, '', '', '.WARN'; + printf INSTRUCTION_FORMAT, '', '', '.WARN'; printf OPERAND_FORMAT, "$_ (in $func->{debugname})"; print INSTRUCTION_SEPARATOR; } @@ -502,7 +502,7 @@ sub disassemble_function($$;$) if $highlight and $highlight->{$ip}; my $showip = $opprop->{isjump}; - printf INSTRUCTION_FORMAT, $showip ? $ip : '', $highlight->{$ip} ? "" : "", $op; + printf INSTRUCTION_FORMAT, $showip ? $ip : '', $highlight->{$ip} ? '' : '', $op; my $cnt = 0; for my $o(qw(a b c)) -- 2.39.2