Wunused-variable

Determines whether a warning is issued if a local or non-constant static variable is unused after being declared.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-Wunused-variable

-Wno-unused-variable

Windows:

None

Arguments

None

Default

-Wno-unused-variable

No warning is issued if a local or non-constant static variable is unused after being declared.

Description

This option determines whether a warning is issued if a local or non-constant static variable is unused after being declared.

Alternate Options

None


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.