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 e73536603f
commit a8a2f1117a
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -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);
+2
View File
@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
179,
/**/
178,
/**/