From fe7179e43aa1093020bbd15bfeceafc8a70fa52f Mon Sep 17 00:00:00 2001 From: Noah Date: Thu, 1 Dec 2022 13:26:55 -0600 Subject: [PATCH] Fix warnings about variable 'error' not being used. --- Main_menu.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Main_menu.gd b/Main_menu.gd index eb1206d..d2e8d67 100644 --- a/Main_menu.gd +++ b/Main_menu.gd @@ -36,7 +36,7 @@ func check_for_update(): # Connect the request_completed signal to self (this script)'s _versions_request_completed function versions_request.connect("request_completed", self, "_versions_request_completed") # Send an HTTP request to the releases page of UltraFlare on code.retroedge.tech - var error = versions_request.request("https://code.retroedge.tech/api/v1/repos/UltraFlare/UltraFlare/releases?draft=false&pre-release=true&limit=1") + var _error = versions_request.request("https://code.retroedge.tech/api/v1/repos/UltraFlare/UltraFlare/releases?draft=false&pre-release=true&limit=1") # SIGNALS @@ -72,7 +72,7 @@ func _download_request_completed(_result, _response_code, _headers, body): # IF the os is "linux" based, use chmod to change the file to executable if os_name == "linux": - var error = OS.execute("chmod", ["+x", OS.get_config_dir()+"/UltraFlare/current/UltraFlare-"+os_name+"-x86_64"]) + var _error = OS.execute("chmod", ["+x", OS.get_config_dir()+"/UltraFlare/current/UltraFlare-"+os_name+"-x86_64"]) # Enable (Un-disable?) the Play_button $Panel/Play_button.disabled = false