04/02/2025 20:46, Stephen Hemminger:
> Even if RTE_ENABLE_ASSERT is not enabled, the expression used should
> still be checked for compiler warnings. Use sizeof()
> and ternary operator in same manner as the assert() macro to
> cause the expression to be evaluated but not generate code.
> 
> This was motivated by detection of problems in a driver submission
> that was not detected until compiled with non default flags.
> 
> Signed-off-by: Stephen Hemminger <step...@networkplumber.org>

Applied, thanks.



Reply via email to