commit | a9a8e04eab106c1d21381f79f8965fe50b94e235 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Oct 30 22:15:55 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Oct 30 22:15:55 2018 +0100 |
tree | 4a1113804e104fe24a8a545ad10cedc539f584a5 | |
parent | 833e5dab143034b7e43bc0be49b2eb3687ff9ab7 [diff] [blame] |
patch 8.1.0501: cppcheck warns for using array index before bounds check Problem: Cppcheck warns for using array index before bounds check. Solution: Swap the conditions. (Dominique Pelle)
diff --git a/src/version.c b/src/version.c index 9d700e2..73d0621 100644 --- a/src/version.c +++ b/src/version.c
@@ -793,6 +793,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 501, +/**/ 500, /**/ 499,