Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
December 2003: [Freeciv-Dev] Re: (PR#7040) Small cleanup packhand.c |
[Freeciv-Dev] Re: (PR#7040) Small cleanup packhand.c[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7040 > Arnstein Lindgard wrote: > + /* Will agents_unit_changed() above be allowed to destroy the unit? */ > + assert(punit); You can't assert(punit). You have to assert(punit != NULL). This is because of the implementation of assert on some other systems. jason
|