mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28: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);
|
f, uarg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
assert(str_arg_l < sizeof(tmp));
|
|
||||||
}
|
}
|
||||||
|
assert(str_arg_l < sizeof(tmp));
|
||||||
|
|
||||||
// include the optional minus sign and possible "0x" in the region
|
// include the optional minus sign and possible "0x" in the region
|
||||||
// before the zero padding insertion point
|
// before the zero padding insertion point
|
||||||
|
Reference in New Issue
Block a user