RAD Studio
ContentsIndex
PreviousUpNext
W8057: Parameter 'parameter' is never used (C++)

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

The named parameter, declared in the function, was never used in the body of the function. 

This might or might not be an error and is often caused by misspelling the parameter. 

This warning can also occur if the identifier is redeclared as an automatic (local) variable in the body of the function. 

The parameter is masked by the automatic variable and remains unused.

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