History

Avoid warnings in DecUT_ParseSyntax

Martin Storsjö committed 11 years ago

Commit e64e2bb1 parent 41921651 file · +3 −2Browse files

Showing the changes to test/decoder/DecUT_ParseSyntax.cpp (1 of 1 file). Show all

Unified · Split

test/decoder/DecUT_ParseSyntax.cpp+3−2
@@ -165,6 +165,7 @@ void DecoderParseSyntaxTest::Init() { · 164 unmodified lines
165165 m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR);
166166 }
167167 CM_RETURN eRet = (CM_RETURN)Initialize (&m_sDecParam, m_pCtx, &m_pWelsTrace->m_sLogCtx);
168+ (void) eRet;
168169 }
169170
170171 void DecoderParseSyntaxTest::Uninit() {
@@ -195,9 +196,9 @@ void DecoderParseSyntaxTest::DecodeBs (const char* sFileName) { · 24 unmodified lines
195196
196197 #if defined(ANDROID_NDK)
197198 std::string filename = std::string ("/sdcard/") + sFileName;
198− ASSERT_TRUE (pH264File = fopen (filename.c_str(), "rb"));
199+ ASSERT_TRUE ((pH264File = fopen (filename.c_str(), "rb")) != NULL);
199200 #else
200− ASSERT_TRUE (pH264File = fopen (sFileName, "rb"));
201+ ASSERT_TRUE ((pH264File = fopen (sFileName, "rb")) != NULL);
201202 #endif
202203 fseek (pH264File, 0L, SEEK_END);
203204 iFileSize = (int32_t) ftell (pH264File);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t