[glib/mcatanzaro/misleading-indentation] testgdate: fix -Wmisleading-indentation warning




commit 0818da530875f58698dd402e3256e947d6341526
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Wed Jun 16 12:22:28 2021 -0500

    testgdate: fix -Wmisleading-indentation warning
    
    No behavior changes. Just reindent the existing code to avoid a GCC
    warning spam.
    
    I considered changing the code to not run fflush() on every iteration of
    the loop, but I doubt it matters much, so I left it be.

 tests/testgdate.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/testgdate.c b/tests/testgdate.c
index cc1e7a972..371d8addf 100644
--- a/tests/testgdate.c
+++ b/tests/testgdate.c
@@ -27,7 +27,9 @@ if (failed) \
   } \
 else \
   ++passed;    \
-  if ((passed+notpassed) % 10000 == 0) g_print ("."); fflush (stdout); \
+if ((passed+notpassed) % 10000 == 0) \
+  g_print ("."); \
+fflush (stdout); \
 } G_STMT_END
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]