summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-03-27 15:37:32 -0700
committerEric Anholt <eric@anholt.net>2014-03-27 15:37:32 -0700
commit7f5fc047daa0054c1d71d6206db4fd9b26a4ff7c (patch)
treef549cddd4634445e195c1ad09313ab0ff4357777
parente7d3088d714e5d19aa4a1bab1e375d7d4e537907 (diff)
downloadlibepoxy-7f5fc047daa0054c1d71d6206db4fd9b26a4ff7c.tar.gz
win32: Fix a C90 compiler warning.
-rw-r--r--test/wgl_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/wgl_common.c b/test/wgl_common.c
index e81fe2d..97b69ed 100644
--- a/test/wgl_common.c
+++ b/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);