Re: Remove unnecessary else branch

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Li Japin <japinli(at)hotmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove unnecessary else branch
Date: 2020-10-13 13:36:54
Message-ID: 44cc9e52-eecc-a362-336c-fd2e684076de@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 13/10/2020 16:30, Li Japin wrote:
> Hi,
>
> I found in guc-file.l we can omit the else branch in AbsoluteConfigLocation().

It will compile the same, so it's just a matter of code readability or
taste which style is better here. I think we should leave it alone, it's
fine as it is.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hamid Akhtar 2020-10-13 13:59:21 Re: Remove unnecessary else branch
Previous Message Li Japin 2020-10-13 13:30:47 Remove unnecessary else branch