Re: [PATCH] Style, remove redudant test "if (zeropadlen > 0)"

From: Mark Dilger <hornschnorter(at)gmail(dot)com>
To: Ranier Vilela <ranier_gyn(at)hotmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Style, remove redudant test "if (zeropadlen > 0)"
Date: 2019-11-24 16:17:55
Message-ID: 81b23d07-e85b-a60c-934e-c320e71da5f1@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/24/19 8:12 AM, Ranier Vilela wrote:
> Hi,
> The test "if (zeropadlen > 0)" is redundant and can be salely removed.
> It has already been tested in the same path.

I have not tested your patch, but it looks right to me.

--
Mark Dilger

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ranier Vilela 2019-11-24 16:27:01 RE: [PATCH] Style, remove redudant test "if (zeropadlen > 0)"
Previous Message Ranier Vilela 2019-11-24 16:12:10 [PATCH] Style, remove redudant test "if (zeropadlen > 0)"