bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] ipc: avoid dereference of null pointer and quiet the GCC


From: Richard Braun
Subject: Re: [PATCH 1/3] ipc: avoid dereference of null pointer and quiet the GCC warning about uninitialized variable
Date: Wed, 18 Dec 2013 11:34:03 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Dec 18, 2013 at 11:25:36AM +0100, Marin Ramesa wrote:
> Yes, vou're right. I got confused. But then something else is happening 
> here. When I write the assertion this way: 
> 
> assert((entry == IE_NULL) ||  ((entry != IE_NULL) ? IE_BITS_TYPE
> (entry->ie_bits) : TRUE));
> 
> GCC stops complaing about uninitialized variable.

I don't get this warning, can you tell us how you configure GNU Mach ?

-- 
Richard Braun



reply via email to

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