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:
@@ -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? */
|
||||
|
||||
Reference in New Issue
Block a user