> > A previous change blamed it on compiler/ASan, while this is a real
> > (yet minor) issue.
> >
> > This return -EINVAL is never reached since we test all combinations of
> > fidx and fcin booleans.
> > All branches end up with a return 0, factorize them.
> >
> > Fixes: 84f5ac9418ea ("pipeline:
> -Original Message-
> From: David Marchand
> Sent: Wednesday, November 3, 2021 6:57 AM
> To: dev@dpdk.org
> Cc: Dumitrescu, Cristian ; Lin, Xueqin
> ; Peng, ZhihongX
> Subject: [PATCH] pipeline: remove unreachable branch
>
> A previous change blamed it on compiler/ASan, while this is
A previous change blamed it on compiler/ASan, while this is a real
(yet minor) issue.
This return -EINVAL is never reached since we test all combinations of
fidx and fcin booleans.
All branches end up with a return 0, factorize them.
Fixes: 84f5ac9418ea ("pipeline: fix build with ASan")
Fixes: f3
3 matches
Mail list logo