[obv/pushed] Minor reformatting fix in gdbtypes.c::create_array_type_with_stride

Message ID 1450668890-30554-1-git-send-email-brobecker@adacore.com
State New, archived
Headers

Commit Message

Joel Brobecker Dec. 21, 2015, 3:34 a.m. UTC
  Hello,

Just a small formatting fix on some code I was looking at.
I think these errors are made easier to make because we are still
using tabs (occasionally preventing consistent alignement when iside
a diff).

gdb/ChangeLog:

        * gdbtypes.c (create_array_type_with_stride): Fix indentation.

Tested by rebuilding GDB, and pushed to master.

Thanks,
  

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c3245e4..c708733 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2015-12-21  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdbtypes.c (create_array_type_with_stride): Fix indentation.
+
 2015-12-19  Joel Brobecker  <brobecker@adacore.com>
 
 	* arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Remove trailing
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index b9850cf..471b7c8 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -1081,8 +1081,8 @@  create_array_type_with_stride (struct type *result_type,
   TYPE_CODE (result_type) = TYPE_CODE_ARRAY;
   TYPE_TARGET_TYPE (result_type) = element_type;
   if (has_static_range (TYPE_RANGE_DATA (range_type))
-     && (!type_not_associated (result_type)
-        && !type_not_allocated (result_type)))
+      && (!type_not_associated (result_type)
+	  && !type_not_allocated (result_type)))
     {
       LONGEST low_bound, high_bound;