[PATCH] remove expression always false

From: Ranier Vf <ranier(dot)vf(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] remove expression always false
Date: 2019-12-18 20:12:04
Message-ID: CAEudQAoDTLc5pk=giQN1_427CXePcrqLG1hdgNLs_e7i9VmiFg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
remove_always_false_v1.patch text/x-patch 1.1 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Ranier Vf 2019-12-18 20:19:08 Re: Windows port minor fixes
Previous Message Merlin Moncure 2019-12-18 20:11:50 Re: inherits clause for CREATE TYPE? -