# Wuninitialized

Determines whether a warning is issued if a variable is used before being initialized.

## Syntax

Linux: | -Wuninitialized -Wno-uninitialized

macOS: | -Wuninitialized -Wno-uninitialized

Windows: | None

## Arguments

None

## Default

-Wno-uninitialized | No warning is issued if a variable is used before being initialized.

## Description

This option determines whether a warning is issued if a variable is used before being initialized. Equivalent to -ww592 and -wd592.

## IDE Equivalent

None

## Alternate Options

-ww592 and -wd592

Parent topic: Compiler Diagnostic Options