newlib: libc: Fix indentation

Message ID 20231202042107.673325-1-visitorckw@gmail.com
State New
Headers
Series newlib: libc: Fix indentation |

Commit Message

Kuan-Wei Chiu Dec. 2, 2023, 4:21 a.m. UTC
  Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
---
 newlib/libc/posix/regcomp.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
  

Comments

Mike Frysinger Dec. 3, 2023, 3:23 a.m. UTC | #1
thx, merged now
-mike
  

Patch

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