Alex Henrie : ntdll/tests: Remove unused variable sbi from test_query_process.

Alexandre Julliard julliard at winehq.org
Mon Sep 6 16:15:04 CDT 2021


Module: wine
Branch: master
Commit: d5a8a5e199e573d21d58ba303095571162eada73
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d5a8a5e199e573d21d58ba303095571162eada73

Author: Alex Henrie <alexhenrie24 at 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 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at 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;




More information about the wine-cvs mailing list