mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
charset: Fix PVS/V560: remove condition which was already checked
This commit is contained in:
@@ -923,7 +923,7 @@ bool vim_isprintc(int c)
|
||||
if (c >= 0x100) {
|
||||
return utf_printable(c);
|
||||
}
|
||||
return c >= 0x100 || (c > 0 && (g_chartab[c] & CT_PRINT_CHAR));
|
||||
return c > 0 && (g_chartab[c] & CT_PRINT_CHAR);
|
||||
}
|
||||
|
||||
/// Strict version of vim_isprintc(c), don't return true if "c" is the head
|
||||
|
Reference in New Issue
Block a user