fix: clang warnings (#21247)

This commit is contained in:
zeertzjq
2022-12-01 09:05:25 +08:00
committed by GitHub
parent 282dda643a
commit bd2d0edcbf
4 changed files with 4 additions and 2 deletions

View File

@@ -1427,6 +1427,7 @@ void aucmd_prepbuf(aco_save_T *aco, buf_T *buf)
// then we can't reliably execute the autocmd,
// return with "curbuf" unequal "buf".
if (auc_win == NULL) {
assert(curbuf != buf);
return;
}
}