mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: avoid deprecated behavior with volatile value
The warning can be seen here: https://godbolt.org/z/8M4qv7ezx
This commit is contained in:
parent
2cacf4eec7
commit
978471bb49
1 changed files with 2 additions and 1 deletions
|
|
@ -1341,7 +1341,8 @@ static const char *check_memlist(const MemHead *memh)
|
|||
membase->first = &backok->next;
|
||||
}
|
||||
else {
|
||||
membase->first = membase->last = nullptr;
|
||||
membase->first = nullptr;
|
||||
membase->last = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue