URL:
  <http://gna.org/patch/?2917>

                 Summary: Separate gui_rect_iterate_coord() macro
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Tue 16 Aug 2011 10:18:42 PM EEST
                Category: client
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.4.0

    _______________________________________________________

Details:

Old gui_rect_iterate() macro set coordinate variables. This lead to "set but
unused variable" compiler warnings when those variables were not needed.
Attached patch removes setting of coordinate variables from base
gui_rect_iterate() and adds new gui_rect_iterate_coord() macro for those cases
where coordinates are needed.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 16 Aug 2011 10:18:42 PM EEST  Name: GuiRectCoordsIterate.diff 
Size: 8kB   By: cazfi

<http://gna.org/patch/download.php?file_id=13892>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?2917>

_______________________________________________
  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