? a.c ? out ? splint_cleanup1.diff.bz2 ? splint_weak ? files_to_check ? a ? ifelseif1.diff ? parameternames_sync1.diff ? diff Index: ai/aicity.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/ai/aicity.c,v retrieving revision 1.91 diff -u -r1.91 aicity.c --- ai/aicity.c 2001/12/21 11:17:31 1.91 +++ ai/aicity.c 2002/02/05 09:12:22 @@ -903,8 +903,6 @@ return val; /* much more useful! */ } else return 0; - - sync_cities(); } /************************************************************************** Index: ai/aiunit.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/ai/aiunit.c,v retrieving revision 1.159 diff -u -r1.159 aiunit.c --- ai/aiunit.c 2002/01/29 22:06:14 1.159 +++ ai/aiunit.c 2002/02/05 09:12:24 @@ -1793,13 +1793,11 @@ case AIUNIT_PILLAGE: handle_unit_activity_request(punit, ACTIVITY_PILLAGE); return; /* when you pillage, you have moves left, avoid later fortify */ - break; case AIUNIT_EXPLORE: ai_manage_explorer(punit); break; default: abort(); - break; } if ((punit = find_unit_by_id(id))) { Index: client/control.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/control.c,v retrieving revision 1.64 diff -u -r1.64 control.c --- client/control.c 2001/12/08 15:15:50 1.64 +++ client/control.c 2002/02/05 09:12:25 @@ -1091,7 +1091,6 @@ switch (hover_state) { case HOVER_NONE: abort(); /* well; shouldn't get here :) */ - break; case HOVER_GOTO: do_unit_goto(xtile, ytile); break; Index: client/goto.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/goto.c,v retrieving revision 1.28 diff -u -r1.28 goto.c --- client/goto.c 2002/01/25 01:01:47 1.28 +++ client/goto.c 2002/02/05 09:12:26 @@ -405,7 +405,6 @@ move_cost = 0; /* silence compiler warning */ freelog(LOG_FATAL, "Bad move_type in create_goto_map()."); abort(); - break; } /****** end switch ******/ /* Add the route to our warmap if it is worth keeping */ Index: common/hash.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/common/hash.c,v retrieving revision 1.11 diff -u -r1.11 hash.c --- common/hash.c 2002/02/02 15:31:54 1.11 +++ common/hash.c 2002/02/05 09:12:27 @@ -613,7 +613,6 @@ /* never reached */ assert(0); exit(1); - return NULL; } /************************************************************************** Index: common/unit.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/common/unit.c,v retrieving revision 1.135 diff -u -r1.135 unit.c --- common/unit.c 2001/09/16 09:38:08 1.135 +++ common/unit.c 2002/02/05 09:12:28 @@ -914,7 +914,6 @@ punit->activity); exit(1); } - return 0; } /************************************************************************** Index: server/diplhand.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/diplhand.c,v retrieving revision 1.52 diff -u -r1.52 diplhand.c --- server/diplhand.c 2001/09/21 20:04:29 1.52 +++ server/diplhand.c 2002/02/05 09:12:29 @@ -60,13 +60,13 @@ freelog(LOG_ERROR, "plrno_from is %d >= game.nplayers (%d).", packet->plrno_from, game.nplayers); return 0; + } - if (packet->plrno_from != packet->plrno0 - && packet->plrno_from != packet->plrno1) { - freelog(LOG_ERROR, "plrno_from(%d) != plrno0(%d) and plrno1(%d)", - packet->plrno_from, packet->plrno0, packet->plrno1); - return 0; - } + if (packet->plrno_from != packet->plrno0 + && packet->plrno_from != packet->plrno1) { + freelog(LOG_ERROR, "plrno_from(%d) != plrno0(%d) and plrno1(%d)", + packet->plrno_from, packet->plrno0, packet->plrno1); + return 0; } return 1; Index: server/gotohand.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/gotohand.c,v retrieving revision 1.128 diff -u -r1.128 gotohand.c --- server/gotohand.c 2002/02/02 15:31:55 1.128 +++ server/gotohand.c 2002/02/05 09:12:30 @@ -795,7 +795,6 @@ move_cost = MAXCOST; /* silence compiler warning */ freelog(LOG_FATAL, "Bad move_type in find_the_shortest_path()."); abort(); - break; } /****** end switch ******/ /* Add the route to our warmap if it is worth keeping */