On Tue, Aug 26, 2025 at 10:28:08AM -0500, Andrew Hamilton wrote:
> I will make the requested changes tonight in a v5.
>
> Just so I understand, is there some coding standard for preferring ternary
> operators and comparing bools to true?

No, I have not seen one but I think if we have defined consts/enums/.. we
should use them instead of assuming that various operators/functions/...
will return what we expect. Though I am not against putting this into
GRUB Developers Manual.

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to