History

Remove a redundant check of this!=NULL

'this' can't be NULL in well-defined C++ code. This fixes a warning with clang 3.6 from Xcode 6.3.

Martin Storsjö committed 11 years ago

Commit 1239bb21 parent 4da93241 file · +1 −1Browse files

Showing the changes to test/encoder/EncUT_InterfaceTest.cpp (1 of 1 file). Show all

Unified · Split

test/encoder/EncUT_InterfaceTest.cpp+1−1
@@ -95,7 +95,7 @@ TEST_F (EncInterfaceCallTest, SetOptionLTR) { · 94 unmodified lines
9595 while (fileStream.read (buf.data(), frameSize) == frameSize) {
9696 ret = encoder_->EncodeFrame (&pic, &info);
9797 ASSERT_TRUE (ret == cmResultSuccess);
98− if (info.eFrameType != videoFrameTypeSkip && this != NULL) {
98+ if (info.eFrameType != videoFrameTypeSkip) {
9999 this->onEncodeFrame (info);
100100 iFrameNum++;
101101 }

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