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.
Showing the changes to test/encoder/EncUT_ParameterSetStrategy.cpp (1 of 1 file). Show all
Unified · Split
| @@ -117,6 +117,7 @@ TEST_F (ParameterSetStrategyTest, FindExistingSps) { · 116 unmodified lines | ||
| 117 | 117 | iFoundId = FindExistingSps (&sParam2, bUseSubsetSps, iDlayerIndex, iDlayerCount, iCurSpsInUse, |
| 118 | 118 | m_pSpsArray, m_pSubsetArray); |
| 119 | 119 | EXPECT_EQ (iFoundId, INVALID_ID); |
| 120 | + (void) iRet; // Not using iRet at the moment | |
| 120 | 121 | } |
| 121 | 122 | |
| 122 | 123 | |