Mercurial > vim
comparison src/ex_cmds2.c @ 16619:8f0ea605ec96 v8.1.1312
patch 8.1.1312: Coverity warning for using uninitialized variable
commit https://github.com/vim/vim/commit/4ca41534b726c4116d2e430e877e34146b4d4831
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 9 21:48:37 2019 +0200
patch 8.1.1312: Coverity warning for using uninitialized variable
Problem: Coverity warning for using uninitialized variable.
Solution: Clear exarg_T.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 May 2019 22:00:06 +0200 |
parents | 6f52e82d9d4e |
children | a1ba0bd74e7d |
comparison
equal
deleted
inserted
replaced
16618:b017e632e336 | 16619:8f0ea605ec96 |
---|---|
1188 if (checkall) | 1188 if (checkall) |
1189 ret = vim_dialog_yesnoallcancel(VIM_QUESTION, NULL, buff, 1); | 1189 ret = vim_dialog_yesnoallcancel(VIM_QUESTION, NULL, buff, 1); |
1190 else | 1190 else |
1191 ret = vim_dialog_yesnocancel(VIM_QUESTION, NULL, buff, 1); | 1191 ret = vim_dialog_yesnocancel(VIM_QUESTION, NULL, buff, 1); |
1192 | 1192 |
1193 /* Init ea pseudo-structure, this is needed for the check_overwrite() | 1193 // Init ea pseudo-structure, this is needed for the check_overwrite() |
1194 * function. */ | 1194 // function. |
1195 ea.append = ea.forceit = FALSE; | 1195 vim_memset(&ea, 0, sizeof(ea)); |
1196 | 1196 |
1197 if (ret == VIM_YES) | 1197 if (ret == VIM_YES) |
1198 { | 1198 { |
1199 #ifdef FEAT_BROWSE | 1199 #ifdef FEAT_BROWSE |
1200 /* May get file name, when there is none */ | 1200 /* May get file name, when there is none */ |