diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index 52c9225c8..fcfcc8f77 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -1220,7 +1220,6 @@ cr_output_region(FILE * F, report_context * ctx, seen_region * sr) region_list *rl2 = rl; while(rl2) { region * r = rl2->data; - plane * pl = rplane(r); int nx = region_x(r, f), ny = region_y(r, f); fprintf(F, "SCHEMEN %d %d\n", nx, ny); fprintf(F, "\"%s\";Name\n", rname(r, f->locale)); diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index 78f3edac5..f819242a3 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -874,7 +874,6 @@ static int autoalliance(const plane * pl, const faction * sf, const faction * f2) { static boolean init = false; - static int automode; if (!init) { init_gms(); init = true; @@ -1186,7 +1185,7 @@ int count_all(const faction * f) { #ifndef NDEBUG - int n = 0, nunits = 0; + int n = 0; unit *u; for (u=f->units;u;u=u->nextF) { if (playerrace(u->race)) { diff --git a/src/common/kernel/region.c b/src/common/kernel/region.c index 543c5c649..57f64646a 100644 --- a/src/common/kernel/region.c +++ b/src/common/kernel/region.c @@ -118,7 +118,6 @@ write_regionname(const region * r, const faction * f, char * buffer, size_t size if (r==NULL) { strcpy(buf, "(null)"); } else { - plane * pl = rplane(r); int nx = region_x(r, f), ny = region_y(r, f); snprintf(buf, size, "%s (%d,%d)", rname(r, lang), nx, ny); } diff --git a/src/common/modules/autoseed.c b/src/common/modules/autoseed.c index 091aaa903..f4571ee85 100644 --- a/src/common/modules/autoseed.c +++ b/src/common/modules/autoseed.c @@ -484,7 +484,6 @@ prepare_starting_region(region * r) int autoseed(newfaction ** players, int nsize, int max_agediff) { - int x = 0, y = 0; region * r = NULL; region_list * rlist = NULL; int rsize = 0, tsize = 0;