URL:
<http://gna.org/bugs/?23889>
Summary: Missing return from activity_requires_target() when
fc_assert_ret_val() not in use
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 20 Sep 2015 01:47:06 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.5.2, 2.6.0, 3.0.0
_______________________________________________________
Details:
activity_requires_target() causes "control reaches end of non-void function"
when fc_assert_ret_val() of the default branch is not in use.
Fix attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 20 Sep 2015 01:47:06 PM EEST Name:
DefaultFALSEActRequiresTarget.patch Size: 370B By: cazfi
<http://gna.org/bugs/download.php?file_id=25161>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23889>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev