Re: [HACKERS] [PATCH] Remove some duplicate if conditions

2014-01-02 Thread David Rowley
On Fri, Jan 3, 2014 at 6:59 AM, Tom Lane wrote: > David Rowley writes: > > I've attached a simple patch which removes some duplicate if conditions > > that seemed to have found their way into the code. > > > These are per PVS-Studio's warnings. > > -1. If PVS-Studio is complaining about this ty

Re: [HACKERS] [PATCH] Remove some duplicate if conditions

2014-01-02 Thread Tom Lane
David Rowley writes: > I've attached a simple patch which removes some duplicate if conditions > that seemed to have found their way into the code. > These are per PVS-Studio's warnings. -1. If PVS-Studio is complaining about this type of coding, to hell with it; it should just optimize away th

[HACKERS] [PATCH] Remove some duplicate if conditions

2014-01-02 Thread David Rowley
I've attached a simple patch which removes some duplicate if conditions that seemed to have found their way into the code. These are per PVS-Studio's warnings. Regards David Rowley duplicate_if_test.patch Description: Binary data -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgres