URL:
<http://gna.org/patch/?4653>
Summary: Future proof unit_query_impossible() users
Project: Freeciv
Submitted by: sveinung
Submitted on: Mon 14 Apr 2014 06:22:44 PM UTC
Category: None
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: sveinung
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.6.0
_______________________________________________________
Details:
At the moment nothing is done after unit_query_impossible() is called. Add an
explicit return statement after all calls to it. Always explicitly returning
after an error is a good policy to avoid bugs like bug #21900.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 14 Apr 2014 06:22:44 PM UTC Name:
future_proof_unit_query_impossible.patch Size: 1kB By: sveinung
<http://gna.org/patch/download.php?file_id=20513>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?4653>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev