[Freeciv-Dev] (PR#9870) bad assert in aitools.h
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9870 >
assert(find_unit_by_id(punit->id))
but pointer checks need to be explicit on some platforms in assert
(presumably because their implementation of assert sucks).
So it should be a != NULL check.
jason
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#9870) bad assert in aitools.h,
Jason Short <=
|
|