URL:
<http://gna.org/bugs/?18264>
Summary: Compiler warning about unused variable in NDEBUG
build
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 22 Jun 2011 11:47:02 PM EEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.4.0
_______________________________________________________
Details:
There's one compiler warning in NDEBUG builds.
With NDEBUG fc_assert() extends to nothing, so pplayer is not used. As there
is absolutely nothing inside this iteration with NDEBUG, attached patch
removes also iteration itself from those builds.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 22 Jun 2011 11:47:02 PM EEST Name: NDebugWarn.diff Size: 519B
By: cazfi
<http://gna.org/bugs/download.php?file_id=13316>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18264>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev