Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6907) aidiplomat: Must check the result of pf_get_
Home

[Freeciv-Dev] Re: (PR#6907) aidiplomat: Must check the result of pf_get_

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6907) aidiplomat: Must check the result of pf_get_path
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Fri, 21 Nov 2003 03:22:27 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6907 >

On Wed, 19 Nov 2003, Raimar Falke wrote:

> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6907 >
> 
> The function can return NULL.

I don't see the point of this patch/assert.  If path is NULL, there will
be a crash in ai_unit_execute_path, but how is it different from
triggering assert?

G.





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