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:
parent
272d06d40b
commit
c9836e8121
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user