# GZ

Initializes all local variables. This is a deprecated option that may be removed in a future release.

## Syntax

Linux: | None

macOS: | None

Windows: | /GZ

## Arguments

None

## Default

OFF | The compiler does not initialize local variables.

## Description

This option initializes all local variables to a non-zero value. To use this option, you must also specify option /Od.

This is a deprecated option that may be removed in a future release. The replacement option is /RTC1.

## IDE Equivalent

None

## Alternate Options

Linux and macOS: None

Windows: /RTC1

Parent topic: Language Options