From: Rudolf Polzer Date: Wed, 2 May 2012 08:39:15 +0000 (+0200) Subject: better mark warnings X-Git-Tag: xonotic-v0.7.0~55^2~24 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=1489c4a3eee2b34dc36c902d9db7f1893c5884f7 better mark warnings --- 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))