RAD Studio |  |

W8019: Code has no effect (C++)

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

This warning is issued when the compiler encounters a statement with some operators that have no effect.

For example, the statement

Copy Code

    a + b;

has no effect on either variable.

The operation is unnecessary and probably indicates a bug.

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