commit | 8d4ed11da635a1abe0ef2d795b4d48824c54d0e7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 04 14:50:32 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 04 14:50:32 2020 +0200 |
tree | 2e6e32cb89174e28967a9cd9a9408c99c884a609 | |
parent | cde0ff39da2459b16007fef701ebaa449fb6fe9d [diff] [blame] |
patch 8.2.0510: Coverity complains about using uninitialized variable Problem: Coverity complains about using uninitialized variable. Solution: Assign a value to "scol". Move code inside NULL check.
diff --git a/src/version.c b/src/version.c index 34553c6..122dcc8 100644 --- a/src/version.c +++ b/src/version.c
@@ -739,6 +739,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 510, +/**/ 509, /**/ 508,