Inspectopedia
 
2024.3

Invalid function result used

Warning
New
Last modified: 03 December 2024

Reports the usages of a void or never function's return value.

Since void functions do not have a return value and never functions terminate execution or throw an exception, such usages are most likely a programming mistake.