Author: cazfi
Date: Wed Sep 23 15:31:06 2015
New Revision: 29957

URL: http://svn.gna.org/viewcvs/freeciv?rev=29957&view=rev
Log:
Added 'return' to activity_requires_target() for compilations where
fc_assert_ret_val() is not defined.

See bug #23889

Modified:
    branches/S2_6/common/unit.c

Modified: branches/S2_6/common/unit.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/unit.c?rev=29957&r1=29956&r2=29957&view=diff
==============================================================================
--- branches/S2_6/common/unit.c (original)
+++ branches/S2_6/common/unit.c Wed Sep 23 15:31:06 2015
@@ -550,6 +550,8 @@
   default:
     fc_assert_ret_val(FALSE, FALSE);
   }
+
+  return FALSE;
 }
 
 /**************************************************************************


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to