]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
reduce scope of variable
authorAmadeusz Sławiński <amade@asmblr.net>
Wed, 22 Feb 2017 12:50:03 +0000 (13:50 +0100)
committerAmadeusz Sławiński <amade@asmblr.net>
Wed, 22 Feb 2017 12:50:03 +0000 (13:50 +0100)
qcsrc/common/campaign_file.qc

index af81942a2001753c36e9fb1cebdadc6ae283b2bb..d3efe77e844a498365a55ce6c264c5a554df0dd7 100644 (file)
@@ -89,8 +89,7 @@ void CampaignFile_Unload()
        if(campaign_title)
        {
                strunzone(campaign_title);
-               int i;
-               for(i = 0; i < campaign_entries; ++i)
+               for(int i = 0; i < campaign_entries; ++i)
                {
                        strunzone(campaign_gametype[i]);
                        strunzone(campaign_mapname[i]);