mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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);
|
||||
|
Reference in New Issue
Block a user