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

@@ -414,7 +414,7 @@ public:
virtual ~ClippingBoxTestCaseGCDCDirect2D() {}
virtual void FlushDC()
virtual void FlushDC() wxOVERRIDE
{
// Apparently, flushing native Direct2D renderer
// is not enough to update underlying DC (bitmap)
@@ -1616,7 +1616,7 @@ public:
virtual ~ClippingBoxTestCaseGCDirect2D() {}
virtual void FlushGC()
virtual void FlushGC() wxOVERRIDE
{
// Apparently, flushing native Direct2D renderer
// is not enough to update underlying DC (bitmap)