Commit ea499ca
sys: cbprintf: logging: fix equivalent branches in argify macro
The ((0) ? (arg) : (arg)) compiler trick leads to a codechecker
violation:
"conditional operator with identical true and false expressions"
Replace it by ((0) ? (0) : (arg)) to work around this issue.
Signed-off-by: Stefan Gloor <[email protected]>1 parent 4ba658d commit ea499ca
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments