Follow-up Comment #6, bug #13810 (project freeciv):

version 3:

- on top of gna13805
- all changes from this ticket (gna13810) included
- summery:

* remove all dependencies on settings_s in all
  files but settings.c
* the struct definition uses an union
* rename settings_s to setting

If we trust all callers to use the right values
from the union, the asserts

assert(op->stype == SSET_BOOL);
assert(op->stype == SSET_INT);
assert(op->stype == SSET_STRING);

can be removed and settings.c can be simplified.


(file #6096)
    _______________________________________________________

Additional Item Attachment:

File name: version3-gna13810.patch.diff   Size:40 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to