altref test: comment out 'pass'
authorJohann <johannkoenig@google.com>
Tue, 13 Sep 2016 21:22:26 +0000 (14:22 -0700)
committerJohann <johannkoenig@google.com>
Fri, 16 Sep 2016 00:45:47 +0000 (17:45 -0700)
All the other test which do not use 'pass' (which appears to be almost
all of them) do this.

Cleans -Wextra/-Wunused-parameter:
unused parameter ‘pass’

Change-Id: I1ff3acf3f3d1e831f94dcb00ea36337afe0aefe0

test/altref_test.cc

index d4a2a6b..f9308c2 100644 (file)
@@ -31,7 +31,7 @@ class AltRefTest : public ::libvpx_test::EncoderTest,
     SetMode(libvpx_test::kTwoPassGood);
   }
 
-  virtual void BeginPassHook(unsigned int pass) { altref_count_ = 0; }
+  virtual void BeginPassHook(unsigned int /*pass*/) { altref_count_ = 0; }
 
   virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video,
                                   libvpx_test::Encoder *encoder) {