Merge pull request #17653 from dundargoc/chore/lgtm

fix lgtm warnings
This commit is contained in:
zeertzjq
2022-03-10 15:01:02 +08:00
committed by GitHub
7 changed files with 7 additions and 12 deletions

View File

@@ -7379,7 +7379,6 @@ const yankreg_T *op_reg_get(const char name)
///
/// @return true on success, false on failure.
bool op_reg_set_previous(const char name)
FUNC_ATTR_WARN_UNUSED_RESULT
{
int i = op_reg_index(name);
if (i == -1) {