Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2003:
[Freeciv-Dev] Re: (PR#7040) Small cleanup packhand.c
Home

[Freeciv-Dev] Re: (PR#7040) Small cleanup packhand.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: a-l@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7040) Small cleanup packhand.c
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Dec 2003 13:39:24 -0800
Reply-to: rt@xxxxxxxxxxx

<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




[Prev in Thread] Current Thread [Next in Thread]