summaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-21 21:45:34 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-21 21:45:34 +0100
commit2c519cf3bfe76083767ac94c674d2e161ed36587 (patch)
tree6386fbe43e4c710c1a31fe28ea3989cfe35e96a8 /src/message.c
parentf7e47af7760fe054cb645dac9a1e96b23c85804d (diff)
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c
index d6acb09910..fa37df12bb 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? */