Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-E81C5AEA-291E-4A14-9F4F-AEFCDE983052
Visible to Intel only — GUID: GUID-E81C5AEA-291E-4A14-9F4F-AEFCDE983052
Wunused-variable
Determines whether a warning is issued if a local or non-constant static variable is unused after being declared.
Syntax
Linux: |
-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.
IDE Equivalent
Alternate Options
None