summaryrefslogtreecommitdiff
path: root/modules/gdnative/tests/test_variant.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnative/tests/test_variant.h')
-rw-r--r--modules/gdnative/tests/test_variant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/tests/test_variant.h b/modules/gdnative/tests/test_variant.h
index 5284bf26f0..aeceb6e68f 100644
--- a/modules/gdnative/tests/test_variant.h
+++ b/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);