E2467 'Void function' cannot return a value (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

A function with a return type void contains a return statement that returns a value; for example, an int.

Default = displayed