Re: Remove unnecessary else branch - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Remove unnecessary else branch
Date
Msg-id 44cc9e52-eecc-a362-336c-fd2e684076de@iki.fi
Whole thread Raw
In response to Remove unnecessary else branch  (Li Japin <japinli@hotmail.com>)
Responses Re: Remove unnecessary else branch  (Hamid Akhtar <hamid.akhtar@gmail.com>)
List 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



pgsql-hackers by date:

Previous
From: Li Japin
Date:
Subject: Remove unnecessary else branch
Next
From: Hamid Akhtar
Date:
Subject: Re: Remove unnecessary else branch