Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | nahom |
Parser Error: The function ‘change_scene()’ returns a value, but this value is never used. (warning treated as error)
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | nahom |
Parser Error: The function ‘change_scene()’ returns a value, but this value is never used. (warning treated as error)
Reply From: | kidscancode |
This is not an error, it’s a warning. It means that it’s not necessarily a problem, just something that you should consider. change_scene()
has a return value - OK if it works, or something like ERR_CANT_OPEN, if there’s a problem. By ignoring the return value, you may be missing important information.
You can choose how warnings are handled via the settings: