forked from aniani/vim
updated for version 7.4.179
Problem: Warning for type-punned pointer. (Tony Mechelynck) Solution: Use intermediate variable.
This commit is contained in:
@@ -1617,8 +1617,9 @@ _DictionaryItem(DictionaryObject *self, PyObject *args, int flags)
|
||||
}
|
||||
else if (flags & DICT_FLAG_RETURN_BOOL)
|
||||
{
|
||||
Py_INCREF(Py_True);
|
||||
return Py_True;
|
||||
ret = Py_True;
|
||||
Py_INCREF(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
di = dict_lookup(hi);
|
||||
|
@@ -738,6 +738,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
179,
|
||||
/**/
|
||||
178,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user