Fix some build warnings

private field 'm_dwCookie' is not used
'return' will never be executed
result of comparison of unsigned enum expression < 0 is always false
'FlushDC' overrides a member function but is not marked 'override'
potentially uninitialized local variable 'bound' used
This commit is contained in:
Maarten Bent
2018-11-25 20:23:05 +01:00
parent bcf53d6b96
commit 3bab07edcf
6 changed files with 6 additions and 9 deletions

View File

@@ -82,8 +82,6 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
default:
return DefWindowProc(hwnd, msg, wParam, lParam);
}
return 0;
}
// ----------------------------------------------------------------------------