Alex Henrie : ntdll/tests: Remove unused variable sbi from test_query_process.
Module: wine Branch: master Commit: d5a8a5e199e573d21d58ba303095571162eada73 URL: https://source.winehq.org/git/wine.git/?a=commit;h=d5a8a5e199e573d21d58ba303... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Sun Sep 5 19:33:21 2021 -0600 ntdll/tests: Remove unused variable sbi from test_query_process. The code that used it was removed in commit 8ac77cfbf96689d83463928a9d0bdc5fcd054cb9. Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/ntdll/tests/info.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c index 7b6f947569a..6e71f0848ec 100644 --- a/dlls/ntdll/tests/info.c +++ b/dlls/ntdll/tests/info.c @@ -444,7 +444,6 @@ static void test_query_process(void) DWORD last_pid; ULONG ReturnLength; int i = 0, k = 0; - SYSTEM_BASIC_INFORMATION sbi; PROCESS_BASIC_INFORMATION pbi; THREAD_BASIC_INFORMATION tbi; OBJECT_ATTRIBUTES attr; @@ -492,8 +491,6 @@ static void test_query_process(void) ok( status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08x\n", status); spi = spi_buf; - pNtQuerySystemInformation(SystemBasicInformation, &sbi, sizeof(sbi), &ReturnLength); - for (;;) { DWORD_PTR tid;
participants (1)
-
Alexandre Julliard