diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-06 17:44:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-06 17:44:38 +0100 |
commit | 6d11f3b8919bfbb6d5d51e6d280a2e685fb883b8 (patch) | |
tree | 7b12c32a494649c994bf8c1b416e4efc97c23ccd /src/edit.c | |
parent | bf3250a8ad39797e3ccdac82d20c6f19533419e4 (diff) | |
download | vim-git-6d11f3b8919bfbb6d5d51e6d280a2e685fb883b8.tar.gz |
patch 8.1.0699: compiler warning for uninitialized variablev8.1.0699
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add a dummy init.
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index d4951d9f3..813e95d34 100644 --- a/src/edit.c +++ b/src/edit.c @@ -7970,7 +7970,7 @@ replace_do_bs(int limit_col) if (cc > 0) { #ifdef FEAT_TEXT_PROP - size_t len_before; + size_t len_before = 0; // init to shut up GCC if (curbuf->b_has_textprop) { |