mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
strings: Fix PVS/V779: wrong assert() position
This commit is contained in:
@@ -1145,8 +1145,8 @@ int vim_vsnprintf(char *str, size_t str_m, const char *fmt, va_list ap,
|
||||
f, uarg);
|
||||
break;
|
||||
}
|
||||
assert(str_arg_l < sizeof(tmp));
|
||||
}
|
||||
assert(str_arg_l < sizeof(tmp));
|
||||
|
||||
// include the optional minus sign and possible "0x" in the region
|
||||
// before the zero padding insertion point
|
||||
|
Reference in New Issue
Block a user