Author: cazfi
Date: Wed Sep 23 15:30:51 2015
New Revision: 29956

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

See bug #23889

Modified:
    trunk/common/unit.c

Modified: trunk/common/unit.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/unit.c?rev=29956&r1=29955&r2=29956&view=diff
==============================================================================
--- trunk/common/unit.c (original)
+++ trunk/common/unit.c Wed Sep 23 15:30:51 2015
@@ -554,6 +554,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