From c9836e812103eb099a4ad39493917d0726a58279 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 3 Mar 2016 09:31:32 +1300 Subject: [PATCH] regtree: avoid GCC indentation warning This was not actually a bug, but GCC6 (sort of reasonably) thought it could be. Signed-off-by: Douglas Bagnall Reviewed-by: Volker Lendecke Reviewed-by: Michael Adam --- source4/lib/registry/tools/regtree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c index 6df8e5067ec..56f38e7d4ba 100644 --- a/source4/lib/registry/tools/regtree.c +++ b/source4/lib/registry/tools/regtree.c @@ -46,7 +46,8 @@ static void print_tree(unsigned int level, struct registry_key *p, unsigned int i; TALLOC_CTX *mem_ctx; - for(i = 0; i < level; i++) putchar(' '); puts(name); + for(i = 0; i < level; i++) putchar(' '); + puts(name); mem_ctx = talloc_init("print_tree"); for (i = 0; W_ERROR_IS_OK(error = reg_key_get_subkey_by_index(mem_ctx,