shithub: openh264

Download patch

ref: a44643aeda418898739e4028d107e9ff777bb5b5
parent: aea1017562d48a83ca1acfb2ba7f9ef74e8dfd1e
author: Martin Storsjö <[email protected]>
date: Fri Jan 16 04:26:06 EST 2015

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.

--- a/test/encoder/EncUT_ParameterSetStrategy.cpp
+++ b/test/encoder/EncUT_ParameterSetStrategy.cpp
@@ -117,6 +117,7 @@
   iFoundId = FindExistingSps (&sParam2, bUseSubsetSps, iDlayerIndex, iDlayerCount, iCurSpsInUse,
                               m_pSpsArray, m_pSubsetArray);
   EXPECT_EQ (iFoundId, INVALID_ID);
+  (void) iRet; // Not using iRet at the moment
 }