Follow-up Comment #2, bug #22026 (project freeciv):

This code is much cleaner than the original implementation: thank you.  I'm a
little worried about declaring proad a const at function scope though, as the
value is changed in each iteration: should this not use a non-const struct
(and extra_road_get()), or to put the declaration of proad inside the
extra_type_list iteration?

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22026>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to