Message ID | 8f5c9665df60b69a45673bb22309f597ec4eb719.1722604821.git.fweimer@redhat.com |
---|---|
State | New |
Headers | show |
Series | Turn on -Wimplicit-fallthrough | expand |
On 02/08/24 10:22, Florian Weimer wrote: > This only happened on test failure. LGTM, thanks. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> > --- > nss/tst-nss-gai-actions.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/nss/tst-nss-gai-actions.c b/nss/tst-nss-gai-actions.c > index efca6cd183..e42bbd6cae 100644 > --- a/nss/tst-nss-gai-actions.c > +++ b/nss/tst-nss-gai-actions.c > @@ -92,6 +92,7 @@ do_one_test (int action, int family, bool canon) > printf ("merge unexpectedly succeeded:\n %s\n", formatted); > support_record_failure (); > free (formatted); > + break; > } > else > return;
diff --git a/nss/tst-nss-gai-actions.c b/nss/tst-nss-gai-actions.c index efca6cd183..e42bbd6cae 100644 --- a/nss/tst-nss-gai-actions.c +++ b/nss/tst-nss-gai-actions.c @@ -92,6 +92,7 @@ do_one_test (int action, int family, bool canon) printf ("merge unexpectedly succeeded:\n %s\n", formatted); support_record_failure (); free (formatted); + break; } else return;