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

                 Summary: Define ggz_report_victor() as empty inline function
when not needed
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 17 Aug 2011 11:43:14 PM EEST
                Category: general
                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:

Attached patch changes ggz_report_victor() to be empty inline function
instead of macro extending to nothing when ggz-server disabled. Main benefit
of this is avoidance of some "set but unused variable" compiler warnings as
ggz_report_victor() parameter is considered to be passed from caller even
though called function is empty.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 17 Aug 2011 11:43:14 PM EEST  Name: InlineGgzReportVictor.diff 
Size: 626B   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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