mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.3.578
Problem: Misplaced declaration. Solution: Move declaration to start of block.
This commit is contained in:
@@ -818,21 +818,21 @@ DictionaryAssItem(PyObject *self, PyObject *keyObject, PyObject *valObject)
|
|||||||
|
|
||||||
if (valObject == NULL)
|
if (valObject == NULL)
|
||||||
{
|
{
|
||||||
|
hashitem_T *hi;
|
||||||
|
|
||||||
if (di == NULL)
|
if (di == NULL)
|
||||||
{
|
{
|
||||||
PyErr_SetString(PyExc_IndexError, _("no such key in dictionary"));
|
PyErr_SetString(PyExc_IndexError, _("no such key in dictionary"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
hashitem_T *hi = hash_find(&d->dv_hashtab, di->di_key);
|
hi = hash_find(&d->dv_hashtab, di->di_key);
|
||||||
hash_remove(&d->dv_hashtab, hi);
|
hash_remove(&d->dv_hashtab, hi);
|
||||||
dictitem_free(di);
|
dictitem_free(di);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ConvertFromPyObject(valObject, &tv) == -1)
|
if (ConvertFromPyObject(valObject, &tv) == -1)
|
||||||
{
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
|
||||||
|
|
||||||
if (di == NULL)
|
if (di == NULL)
|
||||||
{
|
{
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
578,
|
||||||
/**/
|
/**/
|
||||||
577,
|
577,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user