Re: Remove unnecessary commas for goto labels

From: Japin Li <japinli(at)hotmail(dot)com>
To: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Cc: Julien Rouhaud <rjuju123(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove unnecessary commas for goto labels
Date: 2022-10-10 08:50:17
Message-ID: MEYP282MB1669E2642A86348A1019426DB6209@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Mon, 10 Oct 2022 at 16:18, John Naylor <john(dot)naylor(at)enterprisedb(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-10-10 08:57:21 clean up pid_t printing and get rid of pgpid_t
Previous Message John Naylor 2022-10-10 08:18:53 Re: Remove unnecessary commas for goto labels