W8019 Code has no effect (C++)

From RAD Studio
Jump to: navigation, search

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

(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

a + b;

has no effect on either variable.

The operation is unnecessary and probably indicates a bug.