win32: Fix a C90 compiler warning.

macos/v1.5.9
Eric Anholt 11 years ago
parent e7d3088d71
commit 7f5fc047da
  1. 2
      test/wgl_common.c

@ -92,6 +92,7 @@ make_window_and_test(int (*callback)(HDC hdc))
HWND hwnd;
HINSTANCE hcurrentinst = NULL;
WNDCLASS window_class;
MSG msg;
test_callback = callback;
@ -120,7 +121,6 @@ make_window_and_test(int (*callback)(HDC hdc))
ShowWindow(hwnd, SW_SHOWDEFAULT);
UpdateWindow(hwnd);
MSG msg;
while (GetMessage(&msg, NULL, 0, 0)) {
TranslateMessage(&msg);
DispatchMessage(&msg);

Loading…
Cancel
Save