Mercurial > vim
changeset 4359:6d45e6f97415 v7.3.928
updated for version 7.3.928
Problem: Can't build with strict C compiler.
Solution: Move declaration to start of block. (Taro Muraoka)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 06 May 2013 06:26:15 +0200 |
parents | cf1d93a3914a |
children | 0e35dc2abfa1 |
files | src/if_py_both.h src/version.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -1521,12 +1521,11 @@ OptionsItem(OptionsObject *this, PyObjec 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, PyOb 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,