Commit c75ecbe
committed
clar(clar__assert_equal): do in-bounds check before accessing element
When accessing an array element (or, in these instances, characters in
a string), the check whether the array index is within bounds should
always come before accessing said element.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 1109904 commit c75ecbe
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
| 806 | + | |
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| |||
0 commit comments