History

Silence warnings with gcc in GetOptionTid_AVC_NOPREFIX

Martin Storsjö committed 12 years ago

Commit a59a9891 parent 06e56ec1 file · +2 −1Browse files

Showing the changes to test/api/encode_decode_api_test.cpp (1 of 1 file). Show all

Unified · Split

test/api/encode_decode_api_test.cpp+2−1
@@ -885,13 +885,14 @@ TEST_P (EncodeDecodeTestAPI, GetOptionTid_AVC_NOPREFIX) { · 884 unmodified lines
885885 decoder_->GetOption (DECODER_OPTION_TEMPORAL_ID, &iTid);
886886 std::vector<SLostSim>::iterator iter = m_SLostSim.begin();
887887 bool bHasVCL = false;
888− for (int k = 0; k < m_SLostSim.size(); k++) {
888+ for (unsigned int k = 0; k < m_SLostSim.size(); k++) {
889889 if (IS_VCL_NAL (iter->eNalType, 0) && iter->isLost == false) {
890890 bHasVCL = true;
891891 break;
892892 }
893893 iter++;
894894 }
895+ (void) bHasVCL;
895896 if (iTid != -1) {
896897 ASSERT_EQ (iTid, 0);
897898 }

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