Author: cazfi Date: Wed May 20 19:35:11 2015 New Revision: 29114 URL: http://svn.gna.org/viewcvs/freeciv?rev=29114&view=rev Log: Fixed compilation with gcc5
See patch #6092 Modified: branches/S2_6/server/stdinhand.c Modified: branches/S2_6/server/stdinhand.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/stdinhand.c?rev=29114&r1=29113&r2=29114&view=diff ============================================================================== --- branches/S2_6/server/stdinhand.c (original) +++ branches/S2_6/server/stdinhand.c Wed May 20 19:35:11 2015 @@ -3524,7 +3524,9 @@ check_for_full_turn_done(); - end:; + end: + fc_assert_ret_val(ntokens <= 1, FALSE); + /* free our args */ for (i = 0; i < ntokens; i++) { free(arg[i]); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits