<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39840 >

Looking at the code around your tiny patch, the return is very *much*
wanted.  Otherwise, you'd try to add a bad entry to the worklist.  But,
when I added error logging in PR#39827, I accidentally inserted the return
one line too low.  Thanks, anyway!

Committed S2_2 revision 13922.
Committed trunk revision 13923.


Index: server/cityhand.c
===================================================================
--- server/cityhand.c   (revision 13921)
+++ server/cityhand.c   (working copy)
@@ -344,8 +344,8 @@
               production_kind,
               production_value);
       prod.kind = VUT_NONE;
+      return;
     }
-    return;
   }
 
   if (!pcity) {
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to