mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.928
Problem: Can't build with strict C compiler. Solution: Move declaration to start of block. (Taro Muraoka)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user