Remove excessive trailing semicolons

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

Noticed some newly introduced excessive trailing semicolons:

$ git grep -E ";;$" -- *.c *.h
src/include/lib/radixtree.h: int deletepos =
slot - n4->children;;
src/test/modules/test_tidstore/test_tidstore.c: BlockNumber prevblkno = 0;;

Here is a trivial patch to remove them.

Thanks
Richard

Attachments:

v1-0001-Remove-excessive-trailing-semicolons.patchapplication/octet-stream; name=v1-0001-Remove-excessive-trailing-semicolons.patchDownload+2-3
#2Daniel Gustafsson
daniel@yesql.se
In reply to: Richard Guo (#1)
Re: Remove excessive trailing semicolons

On 29 Mar 2024, at 10:14, Richard Guo <guofenglinux@gmail.com> wrote:

Noticed some newly introduced excessive trailing semicolons:

$ git grep -E ";;$" -- *.c *.h
src/include/lib/radixtree.h: int deletepos = slot - n4->children;;
src/test/modules/test_tidstore/test_tidstore.c: BlockNumber prevblkno = 0;;

Here is a trivial patch to remove them.

Thanks, applied!

--
Daniel Gustafsson