[libvirt] [PATCH v3 05/35] cfg.mk: no trailing semicolon at line invoking VIR_DEFINE_* cleanup macro

Sukrit Bhatnagar skrtbhtngr at gmail.com
Tue Jul 10 19:28:15 UTC 2018


On Tue, 10 Jul 2018 at 16:30, Erik Skultety <eskultet at redhat.com> wrote:
>
> On Sat, Jun 30, 2018 at 02:30:09PM +0530, Sukrit Bhatnagar wrote:
> > Add rule to ensure that there is no semicolon at the end of
> > the line where a VIR_DEFINE_* cleanup macro is invoked.
> >
> > Signed-off-by: Sukrit Bhatnagar <skrtbhtngr at gmail.com>
> > ---
>
> NACK, the compiler will fail in such case, so the syntax-rule doesn't bring any
> benefit to us.

The make check does not raise an error when a semicolon is appended.
I guess compiler just ignores extra semicolons. I added this rule because if
a semicolon is not needed after a VIR_DEFINE, it should not be there.
But I can remove it if it is not that useful.




More information about the libvir-list mailing list