1
0
forked from aniani/vim

patch 8.1.1032: warnings from clang static analyzer

Problem:    Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution:   Fix relevant warnings.
This commit is contained in:
Bram Moolenaar
2019-03-21 21:45:34 +01:00
parent f7e47af776
commit 2c519cf3bf
13 changed files with 20 additions and 29 deletions

View File

@@ -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? */