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: https://git.rm.cloudns.org/?a=commitdiff_plain;h=aa2b5a77b2946e90b8b13300e09916a44ecd4e9b;p=xonotic%2Fxonotic.git 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,