From: Rudolf Polzer Date: Tue, 18 Dec 2012 11:33:28 +0000 (+0100) Subject: fix warning X-Git-Tag: xonotic-v0.7.0~29 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=aa2b5a77b2946e90b8b13300e09916a44ecd4e9b fix warning --- diff --git a/misc/tools/progs-analyzer.pl b/misc/tools/progs-analyzer.pl index 7037c8a0..282b6c1d 100644 --- a/misc/tools/progs-analyzer.pl +++ b/misc/tools/progs-analyzer.pl @@ -1000,7 +1000,7 @@ sub detect_constants($) # add missing def if(!($globalflags[$_->{ofs}+$i] & GLOBALFLAG_D)) { - print "Missing globaldef for $_->{debugname}[$i] at $_->{ofs}\n"; + print "Missing globaldef for a component@{[defined $_->{debugname} ? ' of ' . $_->{debugname} : '']} at $_->{ofs}+$i\n"; push @extradefs, { type => { saved => 0,