[PATCH] remove expression always false - Mailing list pgsql-hackers

From Ranier Vf
Subject [PATCH] remove expression always false
Date
Msg-id CAEudQAoDTLc5pk=giQN1_427CXePcrqLG1hdgNLs_e7i9VmiFg@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi,
 || curpages <= 0
expression is always false and can be safely removed.
Reasons:
1. curpages is uint32 type
2. its already test if is zero before.
3. Never be negative

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: inherits clause for CREATE TYPE? -
Next
From: Ranier Vf
Date:
Subject: Re: Windows port minor fixes