Closed dlmiles closed 1 month ago
Correction to DBio.c in one of the commits.
DBio.c edited as my original change was caught out by the incorrect indention of the 'else' keyword and my modification would have caused a NULL deref. Exactly the kind of issue this warning is trying to prevent.
Pulled and merged.
Agree modification is same as original (a == b)
a b old new
-1, -1 = 1 1 SAME
-1, 0 = 0 0 SAME
-1, 1 = 0 0 SAME
-1, 2 = 0 0 SAME
0, -1 = 0 0 SAME
0, 0 = 1 1 SAME
0, 1 = 0 0 SAME
0, 2 = 0 0 SAME
1, -1 = 0 0 SAME
1, 0 = 0 0 SAME
1, 1 = 1 1 SAME
1, 2 = 0 0 SAME
2, -1 = 0 0 SAME
2, 0 = 0 0 SAME
2, 1 = 0 0 SAME
2, 2 = 1 1 SAME
This cleans up all warnings that have fixes that should not change application behaviour.