public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] newlib: libc: Fix indentation
@ 2023-12-02  4:21 Kuan-Wei Chiu
  2023-12-03  3:23 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Kuan-Wei Chiu @ 2023-12-02  4:21 UTC (permalink / raw)
  To: newlib; +Cc: vapier, Kuan-Wei Chiu

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] newlib: libc: Fix indentation
  2023-12-02  4:21 [PATCH] newlib: libc: Fix indentation Kuan-Wei Chiu
@ 2023-12-03  3:23 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2023-12-03  3:23 UTC (permalink / raw)
  To: Kuan-Wei Chiu; +Cc: newlib

[-- Attachment #1: Type: text/plain, Size: 22 bytes --]

thx, merged now
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-03  3:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-02  4:21 [PATCH] newlib: libc: Fix indentation Kuan-Wei Chiu
2023-12-03  3:23 ` Mike Frysinger

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).