mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
refactor: suppress clang and PVS warnings (#19940)
This commit is contained in:
@@ -8148,6 +8148,7 @@ repeat:
|
||||
// Only replace it when it starts with '~'
|
||||
if (*dirname == '~') {
|
||||
s = xstrdup(dirname);
|
||||
assert(s != NULL); // suppress clang "Argument with 'nonnull' attribute passed null"
|
||||
*fnamep = s;
|
||||
xfree(*bufp);
|
||||
*bufp = s;
|
||||
|
Reference in New Issue
Block a user