[PATCH] ntdll/tests: Remove unused variable sbi from test_query_process

Alex Henrie alexhenrie24 at gmail.com
Sun Sep 5 20:33:21 CDT 2021


The code that used it was removed in commit
8ac77cfbf96689d83463928a9d0bdc5fcd054cb9.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 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 e642427bffb..d05db6d1858 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;
-- 
2.33.0




More information about the wine-devel mailing list