mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
clang/'Logic error': zero-init struct
This commit is contained in:
@@ -1372,7 +1372,7 @@ int op_delete(oparg_T *oap)
|
||||
linenr_T lnum;
|
||||
char_u *ptr;
|
||||
char_u *newp, *oldp;
|
||||
struct block_def bd;
|
||||
struct block_def bd = { 0 };
|
||||
linenr_T old_lcount = curbuf->b_ml.ml_line_count;
|
||||
|
||||
if (curbuf->b_ml.ml_flags & ML_EMPTY) { // nothing to do
|
||||
|
@@ -6145,8 +6145,8 @@ static void spell_soundfold_sal(slang_T *slang, char_u *inword, char_u *res)
|
||||
static void spell_soundfold_wsal(slang_T *slang, char_u *inword, char_u *res)
|
||||
{
|
||||
salitem_T *smp = (salitem_T *)slang->sl_sal.ga_data;
|
||||
int word[MAXWLEN];
|
||||
int wres[MAXWLEN];
|
||||
int word[MAXWLEN] = { 0 };
|
||||
int wres[MAXWLEN] = { 0 };
|
||||
int l;
|
||||
int *ws;
|
||||
int *pf;
|
||||
|
Reference in New Issue
Block a user