pvs/v547: remove useless ternary for string size

This commit is contained in:
Jan Edmund Lazo 2020-11-08 17:48:01 -05:00
parent 5caaacaafe
commit 09c46b6c40
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -805,7 +805,7 @@ ArrayOf(String) nvim_get_runtime_file(String name, Boolean all, Error *err)
}
int flags = DIP_START | (all ? DIP_ALL : 0);
do_in_runtimepath(name.size ? (char_u *)name.data : NULL,
do_in_runtimepath((char_u *)name.data,
flags, find_runtime_cb, &rv);
return rv;
}