forked from aniani/vim
patch 9.0.0970: Coverity warns for uninitialized variable
Problem: Coverity warns for uninitialized variable. Solution: Initialize "ren_ret".
This commit is contained in:
parent
28a896f54d
commit
3719989431
@ -5274,7 +5274,7 @@ BufferSetattr(BufferObject *self, char *name, PyObject *valObject)
|
|||||||
{
|
{
|
||||||
char_u *val;
|
char_u *val;
|
||||||
aco_save_T aco;
|
aco_save_T aco;
|
||||||
int ren_ret;
|
int ren_ret = OK;
|
||||||
PyObject *todecref;
|
PyObject *todecref;
|
||||||
|
|
||||||
if (!(val = StringToChars(valObject, &todecref)))
|
if (!(val = StringToChars(valObject, &todecref)))
|
||||||
|
@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
970,
|
||||||
/**/
|
/**/
|
||||||
969,
|
969,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user