Commit 14cda51
committed
fix(mmc): explicitly check operators precedence
This corrects the MISRA violation C2012-12.1:
The precedence of operators within expressions should be made explicit
While at it put the test on one line.
Signed-off-by: Yann Gautier <[email protected]>
Change-Id: Id19231faaf033c1e7dbe703690e0dddc7aa8f3461 parent d1c6c49 commit 14cda51
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
784 | | - | |
| 783 | + | |
785 | 784 | | |
786 | 785 | | |
787 | 786 | | |
| |||
0 commit comments