]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/progs-analyzer.pl
fix warning
[xonotic/xonotic.git] / misc / tools / progs-analyzer.pl
index 7037c8a03a76387d0b28a1dd19de93d70376caee..282b6c1dc453f97a40d4733cdde4b178cc11be4b 100644 (file)
@@ -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,