1
0
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:
Bram Moolenaar
2014-02-12 22:08:49 +01:00
parent f92d8a254a
commit 0e4eebd425
2 changed files with 5 additions and 2 deletions

View File

@@ -1617,8 +1617,9 @@ _DictionaryItem(DictionaryObject *self, PyObject *args, int flags)
} }
else if (flags & DICT_FLAG_RETURN_BOOL) else if (flags & DICT_FLAG_RETURN_BOOL)
{ {
Py_INCREF(Py_True); ret = Py_True;
return Py_True; Py_INCREF(ret);
return ret;
} }
di = dict_lookup(hi); di = dict_lookup(hi);

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
179,
/**/ /**/
178, 178,
/**/ /**/