Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com> --- programs/reg/query.c | 4 ---- programs/reg/tests/query.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/programs/reg/query.c b/programs/reg/query.c index 6485d36db6f..efcd16f8ad5 100644 --- a/programs/reg/query.c +++ b/programs/reg/query.c @@ -287,10 +287,6 @@ static int query_all(HKEY hkey, WCHAR *path, BOOL recurse) } free(subkey_name); - - if (i && !recurse) - output_string(newlineW); - return 0; } diff --git a/programs/reg/tests/query.c b/programs/reg/tests/query.c index 34196c77aa4..a8720da8da1 100644 --- a/programs/reg/tests/query.c +++ b/programs/reg/tests/query.c @@ -225,7 +225,7 @@ static void test_query(void) read_reg_output("reg query HKCU\\" KEY_BASE, buf, sizeof(buf), &r); ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r); - compare_query(buf, test3, FALSE, TODO_REG_COMPARE); + compare_query(buf, test3, FALSE, 0); add_value(subkey, "Test3", REG_SZ, "Some string data", 16); dword = 0xabc; -- 2.31.1