mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
gcc/analyzer: fix false positives for NULL (#13248)
Close https://github.com/neovim/neovim/issues/13158
This commit is contained in:
@@ -2687,6 +2687,9 @@ void nvim__screenshot(String path)
|
||||
|
||||
static void clear_provider(DecorProvider *p)
|
||||
{
|
||||
if (p == NULL) {
|
||||
return;
|
||||
}
|
||||
NLUA_CLEAR_REF(p->redraw_start);
|
||||
NLUA_CLEAR_REF(p->redraw_buf);
|
||||
NLUA_CLEAR_REF(p->redraw_win);
|
||||
|
Reference in New Issue
Block a user