Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings

This commit is contained in:
Thilo Schulz committed 2011-07-29 12:27:00 +00:00
1 parent 1ea7ab1f42
commit 23f6fd1633
85 files changed
+246 -496

No files matched your search

+1 -3
View File
@@ -684,9 +684,7 @@ int BotGetLongTermGoal(bot_state_t *bs, int tfl, int retreat, bot_goal_t *goal)
bs->ltgtype = 0;
}
//
if (bs->camp_range > 0) {
//FIXME: move around a bit
}
//FIXME: move around a bit
//
trap_BotResetAvoidReach(bs->ms);
return qfalse;