Two coverity non-bugs - Mailing list pgsql-patches

From Martijn van Oosterhout
Subject Two coverity non-bugs
Date
Msg-id 20060419120254.GH15420@svana.org
Whole thread Raw
Responses Re: Two coverity non-bugs
Re: Two coverity non-bugs
List pgsql-patches
Attached is a patch that fixes two non-bugs. There's plenty of
redundant NULL checks around the place but these were just so silly I
figure they're worth fixing.

The first checks 'file' the line after having dereferenced it. The
second checks 'currSchema' where the code is designed to never allow it
to be NULL.

Currently they've fixed the bogus errors relating to elog(), but not yet
the ones relating to ereport(). There's still mountains of crap to wade
through and not a single real bug found yet.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-patches by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: [BUGS] bug in windows xp
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] bug in windows xp