refactor: suppress clang false positives (#23154)

This commit is contained in:
zeertzjq
2023-04-17 19:22:55 +08:00
committed by GitHub
parent b98d195c55
commit e83682e652
2 changed files with 2 additions and 0 deletions

View File

@@ -253,6 +253,7 @@ void ex_runtime(exarg_T *eap)
int flags = eap->forceit ? DIP_ALL : 0;
char *p = skiptowhite(arg);
flags += get_runtime_cmd_flags(&arg, (size_t)(p - arg));
assert(arg != NULL); // suppress clang false positive
source_runtime(arg, flags);
}