Indentation change to fix build with latest GCC

Message ID
State New, archived

Commit Message

Steve Ellcey Dec. 11, 2015, 4:58 p.m. UTC
  GCC has added the -Wmisleading-indentation warning to -Wall and that
is breaking the GLIBC build when using the latest GCC.  Here is the
first failure I ran into.  It looks like the indentation is wrong so
I am going to check this in as obvious.  There will be more to follow
and if they also look like obvious indentation issues I will check
those in as well (and send email to the list describing the patches
as I do so).

Let me know if anyone has a problem with these checkins.

Steve Ellcey

2015-12-11  Steve Ellcey  <>

 	* stdlib/strtol_l.c (__strtol_l): Fix indentation.


diff --git a/stdlib/strtol_l.c b/stdlib/strtol_l.c
index 392b31a..1efa193 100644
--- a/stdlib/strtol_l.c
+++ b/stdlib/strtol_l.c
@@ -351,8 +351,8 @@  INTERNAL (__strtol_l) (const STRING_TYPE *nptr, STRING_TYPE **endptr,
 		&& (wchar_t) c != thousands
 # else
 		&& ({ for (cnt = 0; cnt < thousands_len; ++cnt)
-		      if (thousands[cnt] != end[cnt])
-			break;
+			if (thousands[cnt] != end[cnt])
+			  break;
 		      cnt < thousands_len; })
 # endif
 		&& (!ISALPHA (c)