mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.0970: Coverity warns for uninitialized variable
Problem: Coverity warns for uninitialized variable. Solution: Initialize "ren_ret".
This commit is contained in:
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user