Mercurial > vim
comparison src/version.c @ 28940:b02044bc8c20 v8.2.4992
patch 8.2.4992: compiler warning for possibly uninitialized variable
Commit: https://github.com/vim/vim/commit/5a01caa90428a5f87600528d68529383c0b2f78c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 21 18:56:58 2022 +0100
patch 8.2.4992: compiler warning for possibly uninitialized variable
Problem: Compiler warning for possibly uninitialized variable. (Tony
Mechelynck)
Solution: Initialize variable in the caller instead of in the function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 May 2022 20:00:03 +0200 |
parents | ddbb36c1830b |
children | 6cdf55afaae9 |
comparison
equal
deleted
inserted
replaced
28939:13d59e49375d | 28940:b02044bc8c20 |
---|---|
744 NULL | 744 NULL |
745 }; | 745 }; |
746 | 746 |
747 static int included_patches[] = | 747 static int included_patches[] = |
748 { /* Add new patch number below this line */ | 748 { /* Add new patch number below this line */ |
749 /**/ | |
750 4992, | |
749 /**/ | 751 /**/ |
750 4991, | 752 4991, |
751 /**/ | 753 /**/ |
752 4990, | 754 4990, |
753 /**/ | 755 /**/ |