1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

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 <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Douglas Bagnall 2016-03-03 09:31:32 +13:00 committed by Michael Adam
parent 272d06d40b
commit c9836e8121

View File

@ -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,