Explorar o código

Merge pull request #45882 from HenryWConklin/broken-gdnative-test

Fix broken gdnative variant test
Rémi Verschelde %!s(int64=4) %!d(string=hai) anos
pai
achega
5f05e5d904
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      modules/gdnative/tests/test_variant.h

+ 1 - 0
modules/gdnative/tests/test_variant.h

@@ -124,6 +124,7 @@ TEST_CASE("[GDNative Variant] Variant evaluate") {
 	godot_variant_new_int(&two, 2);
 
 	godot_variant three;
+	godot_variant_new_nil(&three);
 	bool valid = false;
 
 	godot_variant_evaluate(GODOT_VARIANT_OP_ADD, &one, &two, &three, &valid);