Message ID | 87cym1ivwe.fsf@oldenburg.str.redhat.com |
---|---|
State | New |
Headers | show |
Series | inet: Avoid label at end of compound statement in tst-if_nameindex | expand |
On 8/21/24 2:16 PM, Florian Weimer wrote: > This fails to compile with GCC 8. > > --- > inet/tst-if_nameindex.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/inet/tst-if_nameindex.c b/inet/tst-if_nameindex.c > index b025cdb3a7..5b90560124 100644 > --- a/inet/tst-if_nameindex.c > +++ b/inet/tst-if_nameindex.c > @@ -105,6 +105,7 @@ do_test (void) > TEST_VERIFY (errno == ENODEV); > > not_this_one: > + ; > } > > > This is a trivial fix IMO. Please push this if it works.
diff --git a/inet/tst-if_nameindex.c b/inet/tst-if_nameindex.c index b025cdb3a7..5b90560124 100644 --- a/inet/tst-if_nameindex.c +++ b/inet/tst-if_nameindex.c @@ -105,6 +105,7 @@ do_test (void) TEST_VERIFY (errno == ENODEV); not_this_one: + ; }