user32/tests: Remove variable atom which is not really used from test_Expose.
This commit is contained in:
parent
9d6a10a43a
commit
173a813e6a
|
@ -5187,14 +5187,14 @@ static LRESULT CALLBACK TestExposedRegion_WndProc(HWND hwnd, UINT msg, WPARAM wP
|
||||||
|
|
||||||
static void test_Expose(void)
|
static void test_Expose(void)
|
||||||
{
|
{
|
||||||
ATOM atom;
|
|
||||||
WNDCLASSA cls;
|
WNDCLASSA cls;
|
||||||
HWND mw;
|
HWND mw;
|
||||||
|
|
||||||
memset(&cls, 0, sizeof(WNDCLASSA));
|
memset(&cls, 0, sizeof(WNDCLASSA));
|
||||||
cls.lpfnWndProc = TestExposedRegion_WndProc;
|
cls.lpfnWndProc = TestExposedRegion_WndProc;
|
||||||
cls.hbrBackground = GetStockObject(WHITE_BRUSH);
|
cls.hbrBackground = GetStockObject(WHITE_BRUSH);
|
||||||
cls.lpszClassName = "TestExposeClass";
|
cls.lpszClassName = "TestExposeClass";
|
||||||
atom = RegisterClassA(&cls);
|
RegisterClassA(&cls);
|
||||||
|
|
||||||
mw = CreateWindowA("TestExposeClass", "MainWindow", WS_VISIBLE|WS_OVERLAPPEDWINDOW,
|
mw = CreateWindowA("TestExposeClass", "MainWindow", WS_VISIBLE|WS_OVERLAPPEDWINDOW,
|
||||||
0, 0, 200, 100, NULL, NULL, 0, NULL);
|
0, 0, 200, 100, NULL, NULL, 0, NULL);
|
||||||
|
|
Loading…
Reference in New Issue