mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-20 14:29:55 +02:00
cangen: don't compare floating-point gap with ‘==’
Fixes the following warning: | cangen.c:524:7: warning: comparing floating-point with ‘==’ or ‘!=’ is unsafe [-Wfloat-equal] | 524 | if (gap && burst_sent_count >= burst_count) /* gap == 0 => performance test :-] */ | | ^~~ Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Reference in New Issue
Block a user