Author: sveinung
Date: Tue May 17 15:00:36 2016
New Revision: 32733

URL: http://svn.gna.org/viewcvs/freeciv?rev=32733&view=rev
Log:
execute_orders(): remove redundant assignment.

See patch #7223

Modified:
    trunk/server/unittools.c

Modified: trunk/server/unittools.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unittools.c?rev=32733&r1=32732&r2=32733&view=diff
==============================================================================
--- trunk/server/unittools.c    (original)
+++ trunk/server/unittools.c    Tue May 17 15:00:36 2016
@@ -4234,8 +4234,8 @@
       case ATK_COUNT:
         log_error("Invalid action target kind");
 
-        /* Makes the check below abort and cancel the orders */
-        prob = 0;
+        /* The check below will abort and cancel the orders because prob
+         * was initialized to impossible above this switch statement. */
 
         break;
       }


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

Reply via email to