mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
strings.c: remove unused assignment
As reported by clang-scan, `length_modifier` is never read in any code path following this branch. It is safe to remove.
This commit is contained in:

committed by
Sander Bosma

parent
192fd161f9
commit
1a81ec6d88
@@ -980,7 +980,6 @@ int vim_vsnprintf(char *str, size_t str_m, const char *fmt, va_list ap,
|
||||
const void *ptr_arg = NULL;
|
||||
|
||||
if (fmt_spec == 'p') {
|
||||
length_modifier = '\0';
|
||||
ptr_arg = tvs ? tv_ptr(tvs, &arg_idx) : va_arg(ap, void *);
|
||||
if (ptr_arg) {
|
||||
arg_sign = 1;
|
||||
|
Reference in New Issue
Block a user