diff options
author | David Robillard <d@drobilla.net> | 2020-03-09 21:49:51 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-09 21:49:51 +0100 |
commit | be8ed18c668c3afa7f7690478402c4177764e599 (patch) | |
tree | 972a7b2869169ef23dc2fa020c44b5d7040a67c8 | |
parent | 947703d7b0303c0afacc8d61ad145806b44e3af6 (diff) |
Windows: Remove unused stores of rect
-rw-r--r-- | pugl/detail/win.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c index e915343..2f10ff1 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -552,12 +552,12 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) switch (message) { case WM_SHOWWINDOW: - rect = handleConfigure(view, &event); + handleConfigure(view, &event); RedrawWindow(view->impl->hwnd, NULL, NULL, RDW_INVALIDATE|RDW_ALLCHILDREN|RDW_INTERNALPAINT); break; case WM_SIZE: - rect = handleConfigure(view, &event); + handleConfigure(view, &event); InvalidateRect(view->impl->hwnd, NULL, false); break; case WM_SIZING: |