Browse Source

Removed a warning, which caused problems with compilation.

David Piuva 5 years ago
parent
commit
6e08ecdb5f
1 changed files with 0 additions and 3 deletions
  1. 0 3
      Source/windowManagers/Win32Window.cpp

+ 0 - 3
Source/windowManagers/Win32Window.cpp

@@ -372,9 +372,6 @@ static LRESULT CALLBACK WindowProcedure(HWND hwnd, UINT message, WPARAM wParam,
 	// Handle the message
 	int result = 0;
 	switch (message) {
-	case -1:
-		dsr::throwError("Unknown error in Window handler!\n");
-		break;
 	case WM_QUIT:
 		PostQuitMessage(wParam);
 		break;