bugfix:
- remove and comment some gcc compiler warnings for not used vaiables.pull/413/head
parent
cee583db06
commit
94f61300c2
|
@ -40,6 +40,7 @@ TEST(NoBoostTest, Tuple) {
|
||||||
bool b = second.get<3>();
|
bool b = second.get<3>();
|
||||||
EXPECT_FALSE(b);
|
EXPECT_FALSE(b);
|
||||||
|
|
||||||
|
// check empty tuple, ignore compile warning
|
||||||
boost::tuple<> third;
|
boost::tuple<> third;
|
||||||
|
|
||||||
// FIXME: Explicit conversion not really required yet
|
// FIXME: Explicit conversion not really required yet
|
||||||
|
|
|
@ -68,6 +68,8 @@ void RemoveVCProcessTest::SetUp()
|
||||||
// so we don't need a virtual destructor
|
// so we don't need a virtual destructor
|
||||||
char check[sizeof(aiMaterial) == sizeof(aiMaterial) ? 10 : -1];
|
char check[sizeof(aiMaterial) == sizeof(aiMaterial) ? 10 : -1];
|
||||||
check[0] = 0;
|
check[0] = 0;
|
||||||
|
// to remove compiler warning
|
||||||
|
EXPECT_TRUE( check );
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue