diff options
author | Bram Moolenaar <bram@vim.org> | 2013-05-06 06:26:15 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-05-06 06:26:15 +0200 |
commit | 33716bf6b41d60bacecb13206d3674937d65b734 (patch) | |
tree | 058fc399cf90b6afd44f5eb933accdab172c1832 | |
parent | 18cfbef446aea9209344ee736cc89b977ab4577c (diff) | |
download | vim-33716bf6b41d60bacecb13206d3674937d65b734.tar.gz |
Problem: Can't build with strict C compiler.
Solution: Move declaration to start of block. (Taro Muraoka)
-rw-r--r-- | src/if_py_both.h | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index 0f9f3538..ac447fce 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -1521,12 +1521,11 @@ OptionsItem(OptionsObject *this, PyObject *keyObject) int flags; long numval; char_u *stringval; + DICTKEY_DECL if (this->Check(this->from)) return NULL; - DICTKEY_DECL - DICTKEY_GET_NOTEMPTY(NULL) flags = get_option_value_strict(key, &numval, &stringval, @@ -1616,12 +1615,11 @@ OptionsAssItem(OptionsObject *this, PyObject *keyObject, PyObject *valObject) int flags; int opt_flags; int r = 0; + DICTKEY_DECL if (this->Check(this->from)) return -1; - DICTKEY_DECL - DICTKEY_GET_NOTEMPTY(-1) flags = get_option_value_strict(key, NULL, NULL, diff --git a/src/version.c b/src/version.c index 76d60a74..93185988 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 */ /**/ + 928, +/**/ 927, /**/ 926, |