gcc -c -g -Wall -Wshadow -Wnested-externs comm.c
comm.c: In function `init_game':
comm.c:303: warning: comparison is always 0 due to limited range of
data type
for (entry = olc_save_list; entry; entry = next_entry)
{
next_entry = entry->next;
303> if (entry->type < 0 || entry->type > 4)
{
log("OLC: Illegal save type %d!", entry->type);
}
else if (entry->zone < 0)
{
log("OLC: Illegal save zone %d!", entry->zone);
is it just me, or did anyone else see this too?
--Angus
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST