diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-06-23 22:45:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-06-23 22:45:33 +0200 |
commit | 090209bfbd41af5d8c8e44f8366d290431ffbf18 (patch) | |
tree | afb500b624c7ce57520388c13177873287318e6f | |
parent | 6d006f9e950364898240b7a6358516bbf73fe458 (diff) | |
download | vim-git-090209bfbd41af5d8c8e44f8366d290431ffbf18.tar.gz |
patch 8.0.0665: warning for uninitialized variablev8.0.0665
Problem: Warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
-rw-r--r-- | src/term.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 555300bac..f36f093c9 100644 --- a/src/term.c +++ b/src/term.c @@ -3944,7 +3944,7 @@ check_termcode( int offset; char_u key_name[2]; int modifiers; - char_u *modifiers_start; + char_u *modifiers_start = NULL; int key; int new_slen; int extra; diff --git a/src/version.c b/src/version.c index 5be7d50a6..8d8d4c8cf 100644 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 665, +/**/ 664, /**/ 663, |