ref: 1239bb24ba511d94a58cfaadb1a80f88d7072d86
parent: 4da932426cd55708d3fc0227c4b7cc59f125fcad
author: Martin Storsjö <martin@martin.st>
date: Wed May 27 07:46:53 EDT 2015
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.
--- a/test/encoder/EncUT_InterfaceTest.cpp
+++ b/test/encoder/EncUT_InterfaceTest.cpp
@@ -95,7 +95,7 @@
while (fileStream.read (buf.data(), frameSize) == frameSize) {
ret = encoder_->EncodeFrame (&pic, &info);
ASSERT_TRUE (ret == cmResultSuccess);
- if (info.eFrameType != videoFrameTypeSkip && this != NULL) {
+ if (info.eFrameType != videoFrameTypeSkip) {
this->onEncodeFrame (info);
iFrameNum++;
}