From: Carlo Arenas Date: Wed, 27 Apr 2022 08:31:59 GMT Subject: Re: [PATCH] setup: avoid uninitialized use of is_safe in ensure_valid_ownership Message-ID: In-Reply-To: On Wed, Apr 27, 2022 at 1:17 AM Matheus Valadares wrote: > > That’s not needed. Fields in an aggregate constructor that are not named are initialized to 0. Could you point me to the C99 specification that documents that if you have it at hand? Even if not strictly necessary, it seems like good code higiene as its effect is hidden. FWIW, it broke a change I was doing on top of this where I removed the " .path " initializer to set it later and was suddenly getting random unrelated errors because this field was not initialized. Carlo