refactor: suppress clang and PVS warnings (#19940)

This commit is contained in:
zeertzjq
2022-08-25 15:20:54 +08:00
committed by GitHub
parent 5c9baa6f35
commit f0658fd552
4 changed files with 4 additions and 1 deletions

View File

@@ -1252,7 +1252,7 @@ static void do_sort_uniq(typval_T *argvars, typval_T *rettv, bool sort)
idx++;
li = TV_LIST_ITEM_NEXT(l, li);
}
if (info.item_compare_func_err) {
if (info.item_compare_func_err) { // -V547
emsg(_("E882: Uniq compare function failed"));
break;
}