From: Kuan-Wei Chiu <visitorckw@gmail.com>
To: newlib@sourceware.org
Cc: vapier@gentoo.org, Kuan-Wei Chiu <visitorckw@gmail.com>
Subject: [PATCH] newlib: libc: Fix indentation
Date: Sat, 2 Dec 2023 12:21:07 +0800 [thread overview]
Message-ID: <20231202042107.673325-1-visitorckw@gmail.com> (raw)
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
newlib/libc/posix/regcomp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/newlib/libc/posix/regcomp.c b/newlib/libc/posix/regcomp.c
index e71bc005c..c3506507d 100644
--- a/newlib/libc/posix/regcomp.c
+++ b/newlib/libc/posix/regcomp.c
@@ -2001,10 +2001,10 @@ struct re_guts *g;
}
g->matchjump = (int*) malloc(g->mlen * sizeof(unsigned int));
- if (g->matchjump == NULL) { /* Not a fatal error */
- free(pmatches);
- return;
- }
+ if (g->matchjump == NULL) { /* Not a fatal error */
+ free(pmatches);
+ return;
+ }
/* Set maximum possible jump for each character in the pattern */
for (mindex = 0; mindex < g->mlen; mindex++)
--
2.25.1
next reply other threads:[~2023-12-02 4:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-02 4:21 Kuan-Wei Chiu [this message]
2023-12-03 3:23 ` Mike Frysinger
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=20231202042107.673325-1-visitorckw@gmail.com \
--to=visitorckw@gmail.com \
--cc=newlib@sourceware.org \
--cc=vapier@gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).