From 7d1c358e23a9b3de47246df4b2887ac5e229dcc2 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 23 May 2010 18:30:10 +0200 Subject: [PATCH] Drop ancient #ifdef DEBUG cruft A few are left in src/lib/as/. --- src/lib/update/main.c | 3 --- src/lib/update/prepare.c | 5 ----- src/lib/update/revolt.c | 4 ---- 3 files changed, 12 deletions(-) diff --git a/src/lib/update/main.c b/src/lib/update/main.c index 3987b7696..2084f1505 100644 --- a/src/lib/update/main.c +++ b/src/lib/update/main.c @@ -107,9 +107,6 @@ update_main(void) if (!(np = getnatp(i))) continue; if (np->nat_stat == STAT_SANCT) { -#ifdef DEBUG - logerror("Country %i is in sanctuary and did not update", i); -#endif continue; } np->nat_money += (int)(np->nat_reserve * money_res * etu); diff --git a/src/lib/update/prepare.c b/src/lib/update/prepare.c index d4cbc7123..dc075f904 100644 --- a/src/lib/update/prepare.c +++ b/src/lib/update/prepare.c @@ -80,11 +80,6 @@ prepare_sects(int etu, struct bp *bp) bp_set_from_sect(bp, sp); np = getnatp(sp->sct_own); -#ifdef DEBUG - if (np->nat_stat == STAT_SANCT) - logerror("Prepare.c: country in sanctuary skipped production"); -#endif /* DEBUG */ - if (np->nat_stat != STAT_SANCT) { guerrilla(sp); do_plague(sp, np, etu); diff --git a/src/lib/update/revolt.c b/src/lib/update/revolt.c index dfc9029e1..747333138 100644 --- a/src/lib/update/revolt.c +++ b/src/lib/update/revolt.c @@ -91,10 +91,6 @@ revolt(struct sctstr *sp) sp->sct_item[I_CIVIL] = civ; if (che_uw > 0) sp->sct_item[I_UW] = uw; -#ifdef DEBUG - logerror("(#%d) %d che fired up in %s", - sp->sct_own, che, ownxy(sp)); -#endif } } -- 2.43.0