comparison src/vim9expr.c @ 28271:c84f4e34ba16 v8.2.4661

patch 8.2.4661: Coverity warning for using uninitialized variable Commit: https://github.com/vim/vim/commit/ffe6e646dc6aede3bce062e40256ce0edc64bc08 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 1 13:23:47 2022 +0100 patch 8.2.4661: Coverity warning for using uninitialized variable Problem: Coverity warning for using uninitialized variable. Solution: Initialize variable to NULL.
author Bram Moolenaar <Bram@vim.org>
date Fri, 01 Apr 2022 14:30:03 +0200
parents c446812efd60
children dc68c111cf7a
comparison
equal deleted inserted replaced
28270:503600e51a08 28271:c84f4e34ba16
270 if (import != NULL) 270 if (import != NULL)
271 { 271 {
272 char_u *p = skipwhite(*end); 272 char_u *p = skipwhite(*end);
273 char_u *exp_name; 273 char_u *exp_name;
274 int cc; 274 int cc;
275 ufunc_T *ufunc; 275 ufunc_T *ufunc = NULL;
276 type_T *type; 276 type_T *type;
277 int done = FALSE; 277 int done = FALSE;
278 int res = OK; 278 int res = OK;
279 279
280 // Need to lookup the member. 280 // Need to lookup the member.