diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-21 21:45:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-21 21:45:34 +0100 |
commit | 2c519cf3bfe76083767ac94c674d2e161ed36587 (patch) | |
tree | 6386fbe43e4c710c1a31fe28ea3989cfe35e96a8 /src/message.c | |
parent | f7e47af7760fe054cb645dac9a1e96b23c85804d (diff) | |
download | vim-git-2c519cf3bfe76083767ac94c674d2e161ed36587.tar.gz |
patch 8.1.1032: warnings from clang static analyzerv8.1.1032
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c index d6acb0991..fa37df12b 100644 --- a/src/message.c +++ b/src/message.c @@ -4491,7 +4491,6 @@ vim_vsnprintf_typval( case 'c': case 's': case 'S': - length_modifier = '\0'; str_arg_l = 1; switch (fmt_spec) { @@ -4872,7 +4871,6 @@ vim_vsnprintf_typval( * zero value is formatted with an * explicit precision of zero */ precision = num_of_digits + 1; - precision_specified = 1; } } /* zero padding to specified precision? */ |