mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
refactor: fix PVS warnings (#23200)
This commit is contained in:
@@ -3257,8 +3257,7 @@ static void showoptions(bool all, int opt_flags)
|
||||
} else {
|
||||
varp = get_varp(p);
|
||||
}
|
||||
if (varp != NULL
|
||||
&& (all == 1 || (all == 0 && !optval_default(p, varp)))) {
|
||||
if (varp != NULL && (all || !optval_default(p, varp))) {
|
||||
int len;
|
||||
if (opt_flags & OPT_ONECOLUMN) {
|
||||
len = Columns;
|
||||
|
Reference in New Issue
Block a user