]> git.pond.sub.org Git - empserver/commitdiff
Remove unused variables in disabled lnd_fort_interdiction()
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 20 Jun 2010 16:33:42 +0000 (18:33 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 25 Jul 2010 15:48:53 +0000 (17:48 +0200)
src/lib/subs/lndsub.c

index e4713db3beaa63b6dd1efad757a0c96cf75c6ddb..d37f3eb9386bb7a7337b809781805d4ba8ccc606 100644 (file)
@@ -775,12 +775,9 @@ lnd_fort_interdiction(struct emp_qelem *list,
     struct nstr_sect ns;
     struct sctstr fsect;
     int trange, range;
     struct nstr_sect ns;
     struct sctstr fsect;
     int trange, range;
-    double guneff;
-    int shell, gun;
     int dam;
     int stopping = 0;
     int totdam = 0;
     int dam;
     int stopping = 0;
     int totdam = 0;
-    int i;
 
     snxtsct_dist(&ns, newx, newy, fort_max_interdiction_range);
     while (nxtsct(&ns, &fsect)) {
 
     snxtsct_dist(&ns, newx, newy, fort_max_interdiction_range);
     while (nxtsct(&ns, &fsect)) {