diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-22 20:03:43 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-22 20:03:48 +0300 |
commit | b9b17a58da0e57ab32302ca6c7183a7cad88c7ee (patch) | |
tree | e513d0f891eb292bec8d85705e34417d2df41f59 /src | |
parent | fb0c35105f96a9fc401a00667f899560793ba417 (diff) | |
download | rneovim-b9b17a58da0e57ab32302ca6c7183a7cad88c7ee.tar.gz rneovim-b9b17a58da0e57ab32302ca6c7183a7cad88c7ee.tar.bz2 rneovim-b9b17a58da0e57ab32302ca6c7183a7cad88c7ee.zip |
strings: Fix PVS/V779: wrong assert() position
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c index e3f6a8cbf6..e9eeca48b8 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -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 |