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:
@@ -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