Remove unused variables.

This commit is contained in:
Markus Armbruster 2006-05-13 07:44:52 +00:00
parent 0fd82cf1d7
commit 256025736c
5 changed files with 1 additions and 6 deletions

View file

@ -54,7 +54,7 @@ arm(void)
struct plnstr pl; struct plnstr pl;
struct nukstr nuke; struct nukstr nuke;
char *p; char *p;
int pno, nukno; int nukno;
struct nstr_item ni; struct nstr_item ni;
char buf[1024]; char buf[1024];
char prompt[128]; char prompt[128];

View file

@ -44,7 +44,6 @@
int int
ndump(void) ndump(void)
{ {
int i;
struct nstr_item nstr; struct nstr_item nstr;
struct nukstr nuk; struct nukstr nuk;
time_t now; time_t now;

View file

@ -48,7 +48,6 @@ nuke(void)
{ {
int first_line = 0; int first_line = 0;
int show_comm; int show_comm;
int i;
struct nstr_item nstr; struct nstr_item nstr;
struct nukstr nuk; struct nukstr nuk;
struct sctstr sect; struct sctstr sect;

View file

@ -57,7 +57,6 @@ static void unit_hdr(void);
int int
starve(void) starve(void)
{ {
struct nstr_sect nstr;
int do_sects = 0; int do_sects = 0;
int do_ships = 0; int do_ships = 0;
int do_units = 0; int do_units = 0;

View file

@ -98,14 +98,12 @@ trade_nameof(struct trdstr *tp, union trdgenstr *tgp)
int int
trade_desc(struct trdstr *tp, union trdgenstr *tgp) trade_desc(struct trdstr *tp, union trdgenstr *tgp)
{ {
int i;
i_type it; i_type it;
struct sctstr sect; struct sctstr sect;
struct nukstr *np; struct nukstr *np;
struct shpstr *sp; struct shpstr *sp;
struct plnstr *pp; struct plnstr *pp;
struct lndstr *lp; struct lndstr *lp;
int needcomma;
struct nstr_item ni; struct nstr_item ni;
struct plnstr plane; struct plnstr plane;
struct lndstr land; struct lndstr land;