grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] cli_lock: Added build option to block command line interface


From: Daniel Kiper
Subject: Re: [PATCH] cli_lock: Added build option to block command line interface
Date: Fri, 26 Jan 2024 19:27:25 +0100

On Wed, Jan 24, 2024 at 08:28:39AM +0100, Olaf Hering wrote:
> Wed, 24 Jan 2024 06:26:37 +0000 Alec Brown <alec.r.brown@oracle.com>:
>
> > +static bool cli_disabled = false;
>
> Are there any other values than zero for "false"?
> If not, the initialization can be removed.

Even if you are technically correct I think we should not drop this
initialization to make code clear at first glance.

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]