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;
|
||||
aco_save_T aco;
|
||||
int ren_ret;
|
||||
int ren_ret = OK;
|
||||
PyObject *todecref;
|
||||
|
||||
if (!(val = StringToChars(valObject, &todecref)))
|
||||
|
Reference in New Issue
Block a user