Skip to content
Commit eb805306 authored by Daniel Marjamäki's avatar Daniel Marjamäki Committed by Benjamin Cabé
Browse files

sca: Fix undefined behavior during preprocessing



According to the C standard it is undefined behavior to use preprocessor
directives inside macro invocations.

Cppcheck stops when it see this UB with an error message, and so this
change will improve Cppcheck analysis

This is a refactoring to fix UB, no logical change is intended.

Signed-off-by: default avatarDaniel Marjamäki <daniel.marjamaki@cppchecksolutions.com>
parent caeda699
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment