Get rid of the excess semicolon in planner.c

Started by Richard Guoover 2 years ago3 messageshackers
Jump to latest
#1Richard Guo
guofenglinux@gmail.com

I think this is a typo introduced in 0452b461b.

+ root->processed_groupClause = list_copy(parse->groupClause);;

The extra empty statement is harmless in most times, but I still think
it would be better to get rid of it.

Attached is a trivial patch to do that.

Thanks
Richard

Attachments:

v1-0001-Get-rid-of-the-excess-semicolon-in-planner.c.patchapplication/octet-stream; name=v1-0001-Get-rid-of-the-excess-semicolon-in-planner.c.patchDownload+1-2
#2David Rowley
dgrowleyml@gmail.com
In reply to: Richard Guo (#1)
Re: Get rid of the excess semicolon in planner.c

On Wed, 6 Mar 2024 at 00:43, Richard Guo <guofenglinux@gmail.com> wrote:

I think this is a typo introduced in 0452b461b.

+ root->processed_groupClause = list_copy(parse->groupClause);;

"git grep -E ";;$" -- *.c *.h" tell me it's the only one.

Pushed.

David

#3Richard Guo
guofenglinux@gmail.com
In reply to: David Rowley (#2)
Re: Get rid of the excess semicolon in planner.c

On Wed, Mar 6, 2024 at 6:00 AM David Rowley <dgrowleyml@gmail.com> wrote:

On Wed, 6 Mar 2024 at 00:43, Richard Guo <guofenglinux@gmail.com> wrote:

I think this is a typo introduced in 0452b461b.

+ root->processed_groupClause = list_copy(parse->groupClause);;

"git grep -E ";;$" -- *.c *.h" tell me it's the only one.

Pushed.

Thanks for checking and pushing.

Thanks
Richard