From 0aa0be8557a9d0b7b530fe8dd5cce4dc8de5236c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 13 Apr 2006 21:41:27 +0000 Subject: [PATCH] unnecessary function --- src/common/kernel/battle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/kernel/battle.c b/src/common/kernel/battle.c index 8d3740405..fc4f6fb72 100644 --- a/src/common/kernel/battle.c +++ b/src/common/kernel/battle.c @@ -453,6 +453,7 @@ get_unitrow(const fighter * af) return result; } +#if 0 static int sort_fighterrow(fighter ** elem1, fighter ** elem2) { @@ -462,6 +463,7 @@ sort_fighterrow(fighter ** elem1, fighter ** elem2) b = get_unitrow(*elem2); return (a < b) ? -1 : ((a == b) ? 0 : 1); } +#endif static void reportcasualties(battle * b, fighter * fig, int dead)