Commit 9452539
Don't nest conditional operators
It makes the code harder to read and the compiler will optimize out
the intermediate temporary variable anyway.1 parent 1a6b3b3 commit 9452539
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2928 | 2928 | | |
2929 | 2929 | | |
2930 | 2930 | | |
2931 | | - | |
| 2931 | + | |
| 2932 | + | |
2932 | 2933 | | |
2933 | 2934 | | |
2934 | 2935 | | |
| |||
3027 | 3028 | | |
3028 | 3029 | | |
3029 | 3030 | | |
3030 | | - | |
| 3031 | + | |
| 3032 | + | |
3031 | 3033 | | |
3032 | 3034 | | |
3033 | 3035 | | |
| |||
0 commit comments