Author: cazfi
Date: Wed May 20 19:35:25 2015
New Revision: 29116

URL: http://svn.gna.org/viewcvs/freeciv?rev=29116&view=rev
Log:
Fixed compilation with gcc5

See patch #6092

Modified:
    branches/S2_4/server/stdinhand.c

Modified: branches/S2_4/server/stdinhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_4/server/stdinhand.c?rev=29116&r1=29115&r2=29116&view=diff
==============================================================================
--- branches/S2_4/server/stdinhand.c    (original)
+++ branches/S2_4/server/stdinhand.c    Wed May 20 19:35:25 2015
@@ -3567,7 +3567,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

Reply via email to