Re: Remove unnecessary commas for goto labels

Japin Li <japinli@hotmail.com>

From: Japin Li <japinli@hotmail.com>
To: John Naylor <john.naylor@enterprisedb.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2022-10-10T08:50:17Z
Lists: pgsql-hackers
On Mon, 10 Oct 2022 at 16:18, John Naylor <john.naylor@enterprisedb.com> wrote:
> Interestingly, I did find that in C, some statement is needed after a
> label, even an empty one, otherwise it won't compile.

Yeah, this is required by ISO C [1].

> That's not the case here, though, so pushed.

Thank you!


[1] https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html#Labels

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.



Commits

  1. Remove unnecessary semicolons after goto labels