diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-07-03 13:29:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-07-03 13:29:58 +0200 |
commit | e1fc4e2f0f4afbdbff97025dc1e7b68da181d796 (patch) | |
tree | ccb660f78b760877728a623bdde6b4b298af2e2a | |
parent | 79f7e1475a34055c2f6ef6c2e8c863be83bdee67 (diff) | |
download | vim-git-e1fc4e2f0f4afbdbff97025dc1e7b68da181d796.tar.gz |
updated for version 7.3.1291v7.3.1291
Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
Solution: Initialize the variables.
-rw-r--r-- | src/screen.c | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c index 9d0d63a5b..d68a84b99 100644 --- a/src/screen.c +++ b/src/screen.c @@ -279,13 +279,13 @@ redraw_asap(type) int rows; int r; int ret = 0; - schar_T *screenline; /* copy from ScreenLines[] */ - sattr_T *screenattr; /* copy from ScreenAttrs[] */ + schar_T *screenline; /* copy from ScreenLines[] */ + sattr_T *screenattr; /* copy from ScreenAttrs[] */ #ifdef FEAT_MBYTE int i; - u8char_T *screenlineUC; /* copy from ScreenLinesUC[] */ + u8char_T *screenlineUC = NULL; /* copy from ScreenLinesUC[] */ u8char_T *screenlineC[MAX_MCO]; /* copy from ScreenLinesC[][] */ - schar_T *screenline2; /* copy from ScreenLines2[] */ + schar_T *screenline2 = NULL; /* copy from ScreenLines2[] */ #endif redraw_later(type); diff --git a/src/version.c b/src/version.c index 68abf943f..8c4982187 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1291, +/**/ 1290, /**/ 1289, |