[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] build: avoid new chmod.c warnings from upcoming GCC12
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] build: avoid new chmod.c warnings from upcoming GCC12 |
Date: |
Thu, 16 Sep 2021 22:44:34 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Thunderbird/84.0 |
On 16/09/2021 21:30, Jim Meyering wrote:
I tried to build with upcoming GCC12 and with warnings + -Werror, and
hit one failure.
Here's a patch to avoid that:
Cool. Small nit; it's probably best to use a trailing ,
for our standard from of aggregate initialization. I.e.,
- struct change_status ch;
+ struct change_status ch = { 0, };
cheers,
Pádraig