From 9040f45a66e20464c0a8b6e12e3bcf1a4e35ec92 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 15 Feb 2022 10:03:36 +0300 Subject: Fix code indentation in main of test_stack.c (a cherry-pick of commit eef6823ee from 'master') * tests/test_stack.c (main): Adjust indentation for ifdef VERBOSE and for "for" statement (for statistic output). --- tests/test_stack.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_stack.c b/tests/test_stack.c index efe59e1..6ae49df 100644 --- a/tests/test_stack.c +++ b/tests/test_stack.c @@ -301,17 +301,18 @@ int main(int argc, char **argv) } } times[nthreads][exper_n] = get_msecs() - start_time; - # ifdef VERBOSE +# ifdef VERBOSE printf("nthreads=%d, time_ms=%lu\n", nthreads, times[nthreads][exper_n]); printf("final list (should be reordered initial list):\n"); print_list(); - # endif +# endif check_list(list_length); while ((le = (list_element *)AO_stack_pop(&the_list)) != 0) free(le); } - for (nthreads = 1; nthreads <= max_nthreads; ++nthreads) + + for (nthreads = 1; nthreads <= max_nthreads; ++nthreads) { # ifndef NO_TIMES unsigned long sum = 0; -- cgit v1.2.1