On Mon, Oct 23, 2023 at 04:22:24PM +0200, Eelco Chaudron wrote: > This patch addresses a 'Dead assignment' warning by designating > the variable as OVS_UNUSED. We opted for this approach instead > of comparing it to the sizeof(struct ...) method because of > concerns related to code clarity. > > Signed-off-by: Eelco Chaudron <[email protected]>
Thanks, I confirmed that this addresses warnings generated by clang-tidy. And I agree this is a reasonable approach. Acked-by: Simon Horman <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
