Avoid a warning about a variable set but not used

The return values may be useful later, so instead of removing the
variable, just silence the warning.

This fixes a warning in builds with GCC.
This commit is contained in:
Martin Storsjö
2015-01-16 09:26:06 +02:00
parent aea1017562
commit a44643aeda

View File

@@ -117,6 +117,7 @@ TEST_F (ParameterSetStrategyTest, FindExistingSps) {
iFoundId = FindExistingSps (&sParam2, bUseSubsetSps, iDlayerIndex, iDlayerCount, iCurSpsInUse, iFoundId = FindExistingSps (&sParam2, bUseSubsetSps, iDlayerIndex, iDlayerCount, iCurSpsInUse,
m_pSpsArray, m_pSubsetArray); m_pSpsArray, m_pSubsetArray);
EXPECT_EQ (iFoundId, INVALID_ID); EXPECT_EQ (iFoundId, INVALID_ID);
(void) iRet; // Not using iRet at the moment
} }