]> git.pond.sub.org Git - empserver/commitdiff
Remove unused variables.
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 13 May 2006 07:44:52 +0000 (07:44 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 13 May 2006 07:44:52 +0000 (07:44 +0000)
src/lib/commands/arm.c
src/lib/commands/ndump.c
src/lib/commands/nuke.c
src/lib/commands/strv.c
src/lib/subs/trdsub.c

index 9dd9022d70f74c58b6569a40025b06a89335aeac..193dba22637ef711f1841006de9d210690aa4d08 100644 (file)
@@ -54,7 +54,7 @@ arm(void)
     struct plnstr pl;
     struct nukstr nuke;
     char *p;
-    int pno, nukno;
+    int nukno;
     struct nstr_item ni;
     char buf[1024];
     char prompt[128];
index 8c4dab8806a035c3f2d3b9a6f4010a92c3c17097..e781e4a247f57e61e6d666c02da82c4e64a76269 100644 (file)
@@ -44,7 +44,6 @@
 int
 ndump(void)
 {
-    int i;
     struct nstr_item nstr;
     struct nukstr nuk;
     time_t now;
index 0902b77ff1945ec2d52174895f8d705f24e368eb..03357e0b1f1e55f307e4c0ad342ec608ecc760f1 100644 (file)
@@ -48,7 +48,6 @@ nuke(void)
 {
     int first_line = 0;
     int show_comm;
-    int i;
     struct nstr_item nstr;
     struct nukstr nuk;
     struct sctstr sect;
index 1c3645899ab4158ff8c6a78f10ad87ab6bf88a75..75e6bff431c298ee6bc8e0062cfb9043f3ff776e 100644 (file)
@@ -57,7 +57,6 @@ static void unit_hdr(void);
 int
 starve(void)
 {
-    struct nstr_sect nstr;
     int do_sects = 0;
     int do_ships = 0;
     int do_units = 0;
index bb2c3471d5df30f63f4d278bd64b002591bca933..542fd2716eeb64a054f8c107d0263ac88174e4b1 100644 (file)
@@ -98,14 +98,12 @@ trade_nameof(struct trdstr *tp, union trdgenstr *tgp)
 int
 trade_desc(struct trdstr *tp, union trdgenstr *tgp)
 {
-    int i;
     i_type it;
     struct sctstr sect;
     struct nukstr *np;
     struct shpstr *sp;
     struct plnstr *pp;
     struct lndstr *lp;
-    int needcomma;
     struct nstr_item ni;
     struct plnstr plane;
     struct lndstr land;