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:
@@ -311,7 +311,7 @@ public:
|
||||
m_gcdc->SetGraphicsContext(ctx);
|
||||
}
|
||||
|
||||
virtual void FlushDC()
|
||||
virtual void FlushDC() wxOVERRIDE
|
||||
{
|
||||
// Apparently, flushing native Direct2D renderer
|
||||
// is not enough to update underlying DC (bitmap)
|
||||
|
@@ -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)
|
||||
|
@@ -126,7 +126,7 @@ void SafeArrayConvertTestCase::VariantListReturnSafeArray()
|
||||
wxVariantDataSafeArray*
|
||||
vsa = wxStaticCastVariantData(variantCopy.GetData(),
|
||||
wxVariantDataSafeArray);
|
||||
long bound;
|
||||
long bound wxDUMMY_INITIALIZE(0);
|
||||
|
||||
CPPUNIT_ASSERT( vsa );
|
||||
CPPUNIT_ASSERT( safeArray.Attach(vsa->GetValue()) );
|
||||
@@ -177,7 +177,7 @@ void SafeArrayConvertTestCase::StringsReturnSafeArray()
|
||||
wxVariantDataSafeArray*
|
||||
vsa = wxStaticCastVariantData(variant.GetData(),
|
||||
wxVariantDataSafeArray);
|
||||
long bound;
|
||||
long bound wxDUMMY_INITIALIZE(0);
|
||||
|
||||
CPPUNIT_ASSERT( vsa );
|
||||
CPPUNIT_ASSERT( safeArray.Attach(vsa->GetValue()) );
|
||||
|
Reference in New Issue
Block a user