summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-22 08:30:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-22 08:30:51 +0100
commit28039094b384b32226f06e7d7ed7441bc1171cf3 (patch)
treedd880f8569c817df4275fa8e6f00f190667b50c5 /modules/gdscript/tests
parent3f2ca4453401f85fcfa9deeaf5c9a395b1be475d (diff)
parent5bdd883dfdeb98a68b40b555a10a469e9887d48c (diff)
Merge pull request #68911 from souplamp/return-value-discarded-error
Clarify what happens when return value is discarded in GDScript warning text
Diffstat (limited to 'modules/gdscript/tests')
-rw-r--r--modules/gdscript/tests/scripts/parser/warnings/return_value_discarded.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/parser/warnings/return_value_discarded.out b/modules/gdscript/tests/scripts/parser/warnings/return_value_discarded.out
index 13f759dd46..e89bb9226f 100644
--- a/modules/gdscript/tests/scripts/parser/warnings/return_value_discarded.out
+++ b/modules/gdscript/tests/scripts/parser/warnings/return_value_discarded.out
@@ -2,4 +2,4 @@ GDTEST_OK
>> WARNING
>> Line: 6
>> RETURN_VALUE_DISCARDED
->> The function 'i_return_int()' returns a value, but this value is never used.
+>> The function 'i_return_int()' returns a value that will be discarded if not used.