Fix uninitialized variable when computing graph hash with sub-resources
This commit is contained in:
parent
723ddfc958
commit
0bf9a9f87f
@ -1830,7 +1830,7 @@ static uint64_t get_deep_hash(const Object &obj,
|
||||
|
||||
if ((property.usage & property_usage) != 0) {
|
||||
const Variant value = obj.get(property.name);
|
||||
uint64_t value_hash;
|
||||
uint64_t value_hash = 0;
|
||||
|
||||
if (value.get_type() == Variant::OBJECT) {
|
||||
const Object *obj_value = value.operator Object *();
|
||||
|
Loading…
x
Reference in New Issue
Block a user