Jinoh Kang (@iamahuman) commented about dlls/user32/tests/class.c:
BOOL test_cross_process = class_test->test_cross_process;
memset(&cls_a, 0, sizeof(cls_a));
ret_b = GetClassInfoA(NULL, class_test->class_name, &cls_a);
ok(ret_b, "GetClassInfoA failed: %lu\n", GetLastError());
real_class_wndproc = cls_a.lpfnWndProc;
cls_a.lpfnWndProc = super_class_test_win_proc_a;
cls_a.hInstance = GetModuleHandleA(NULL);
cls_a.lpszClassName = SUPER_CLASS_NAME_A;
RegisterClassA(&cls_a);
/* Test real class name if we only pass through WM_NULL. */
test_real_class_name_set_msg(class_test->real_class_name, WM_NULL, class_test->set_by_wm_null, test_cross_process,
class_test->wine_todo);
if (class_test->set_by_wm_null && test_cross_process) test_cross_process = FALSE;
The condition can be simplified a bit. ```suggestion:-0+0 /* Please explain why we're skipping further cross-process tests here. */ if (class_test->set_by_wm_null) test_cross_process = FALSE; ```