All of lore.kernel.org
 help / color / mirror / Atom feed
From: jacob berkman <jacob@87k.net>
To: grub-devel@gnu.org
Cc: jacob berkman <jacob@87k.net>
Subject: [PATCH 2/3] Fix warning about misleading indentation on OpenBSD 6.9 with -Werror enabled (which is the default).
Date: Tue, 18 May 2021 22:14:14 -0700	[thread overview]
Message-ID: <20210519051415.847-3-jacob@87k.net> (raw)
In-Reply-To: <20210519051415.847-1-jacob@87k.net>

---
 grub-core/lib/LzmaEnc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grub-core/lib/LzmaEnc.c b/grub-core/lib/LzmaEnc.c
index 52b331558..4636a9ffe 100644
--- a/grub-core/lib/LzmaEnc.c
+++ b/grub-core/lib/LzmaEnc.c
@@ -1358,7 +1358,7 @@ static UInt32 GetOptimum(CLzmaEnc *p, UInt32 position, UInt32 *backRes)
       if (repIndex == 0)
         startLen = lenTest + 1;
 
-      /* if (_maxMode) */
+      if (True /* _maxMode */)
       {
           UInt32 lenTest2 = lenTest + 1;
           UInt32 limit = lenTest2 + p->numFastBytes;
-- 
2.30.1 (Apple Git-130)



  parent reply	other threads:[~2021-05-19  5:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19  5:14 [PATCH 0/3] A few small OpenBSD-ish fixes jacob berkman
2021-05-19  5:14 ` [PATCH 1/3] Do not fail configure if Python is missing. It's only required for developement of GRUB jacob berkman
2021-05-19  5:14 ` jacob berkman [this message]
2021-05-19  5:14 ` [PATCH 3/3] Use size_t printf format to match type jacob berkman
2021-05-27 14:58 ` [PATCH 0/3] A few small OpenBSD-ish fixes Daniel Kiper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210519051415.847-3-jacob@87k.net \
    --to=jacob@87k.net \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.