RAD Studio
ContentsIndex
PreviousUpNext
W8067: Both return and return with a value used (C++)

(Command-line option to suppress warning: -w-ret) 

The current function has return statements with and without values. 

This is legal C, but almost always generates an error. 

Possibly a return statement was omitted from the end of the function.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!