From: Amadeusz Sławiński Date: Wed, 22 Feb 2017 12:50:03 +0000 (+0100) Subject: reduce scope of variable X-Git-Tag: xonotic-v0.8.5~2843^2~14 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c4d22c1f99d90dec1aed62b16cd0652bbc536c92;p=xonotic%2Fxonotic-data.pk3dir.git reduce scope of variable --- diff --git a/qcsrc/common/campaign_file.qc b/qcsrc/common/campaign_file.qc index af81942a2..d3efe77e8 100644 --- a/qcsrc/common/campaign_file.qc +++ b/qcsrc/common/campaign_file.qc @@ -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]);