From bc739a46878d06bd77fcb924a8bd079071057be0 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 30 Dec 2022 11:57:25 -0300 Subject: GDScript: Make using return of void function an error Remove the `VOID_ASSIGNMENT` warning since those cases will be errors now. --- doc/classes/ProjectSettings.xml | 3 --- 1 file changed, 3 deletions(-) (limited to 'doc') diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 67b692a7a0..d4c42e36eb 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -464,9 +464,6 @@ When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when a local variable is unused. - - When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when assigning the result of a function that returns [code]void[/code] to a variable. - Message to be displayed before the backtrace when the engine crashes. By default, this message is only used in exported projects due to the editor-only override applied to this setting. -- cgit v1.2.3