From a22e746bc3478bcba8540fbf30de58ebf975b132 Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Sun, 25 Mar 2018 19:36:34 -0400 Subject: Removed unnecessary assignments --- modules/gdnative/nativescript/api_generator.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/gdnative/nativescript') diff --git a/modules/gdnative/nativescript/api_generator.cpp b/modules/gdnative/nativescript/api_generator.cpp index 4012e821bb..70ca8d68b8 100644 --- a/modules/gdnative/nativescript/api_generator.cpp +++ b/modules/gdnative/nativescript/api_generator.cpp @@ -110,7 +110,6 @@ struct ClassAPI { bool is_singleton; bool is_instanciable; // @Unclear - bool is_creatable; bool is_reference; List methods; @@ -385,7 +384,6 @@ static List generate_c_api_json(const List &p_api) { source.push_back(String("\t\t\"instanciable\": ") + (api.is_instanciable ? "true" : "false") + ",\n"); source.push_back(String("\t\t\"is_reference\": ") + (api.is_reference ? "true" : "false") + ",\n"); // @Unclear - // source.push_back(String("\t\t\"createable\": ") + (api.is_creatable ? "true" : "false") + ",\n"); source.push_back("\t\t\"constants\": {\n"); for (List::Element *e = api.constants.front(); e; e = e->next()) { -- cgit v1.2.3