Re: [dev] Re: sbase

From: Connor Lane Smith <>
Date: Fri, 10 Jun 2011 13:25:32 +0100


On 10 June 2011 06:55, pancake <> wrote:
> Your gcc sucks. Mine reports the error here. Size is only allocated if the
> or condition applies which is not something to always happen opening the
> doors to use an uninitialized pointer.

I wasn't talking about GCC. Step through the logic in your head. What
happens if the if statement is false? The program exits. If GCC whines
about it it just means it's not very smart. (It doesn't on my machine,
but does on my server using an older version.) I'll add the assignment
just to silence it, I suppose.

Received on Fri Jun 10 2011 - 14:25:32 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 10 2011 - 14:36:03 CEST