remove some more unused defines.

This commit is contained in:
Enno Rehling 2017-12-09 11:17:39 +01:00
parent abd9b94d37
commit 643883d539
3 changed files with 0 additions and 13 deletions

View File

@ -2010,11 +2010,6 @@ void dazzle(battle * b, troop * td)
{ {
UNUSED_ARG(b); UNUSED_ARG(b);
/* Nicht kumulativ ! */ /* Nicht kumulativ ! */
#ifdef TODO_RUNESWORD
if (td->fighter->weapon[WP_RUNESWORD].count > td->index) {
return;
}
#endif
if (td->fighter->person[td->index].flags & (FL_COURAGE|FL_DAZZLED)) { if (td->fighter->person[td->index].flags & (FL_COURAGE|FL_DAZZLED)) {
return; return;
} }

View File

@ -1600,12 +1600,6 @@ int countheroes(const struct faction *f)
n += u->number; n += u->number;
u = u->nextF; u = u->nextF;
} }
#ifdef DEBUG_MAXHEROES
int m = maxheroes(f);
if (n > m) {
log_warning("%s has %d of %d heroes\n", factionname(f), n, m);
}
#endif
return n; return n;
} }

View File

@ -78,8 +78,6 @@ char * strlcpy_w(char *dst, const char *src, size_t *siz, const char *err, const
return buf; return buf;
} }
#ifndef HAVE_STRLCAT #ifndef HAVE_STRLCAT
#define HAVE_STRLCAT #define HAVE_STRLCAT
size_t strlcat(char *dst, const char *src, size_t siz) size_t strlcat(char *dst, const char *src, size_t siz)