Fix unused arguments warning in ScopedMockLog.
authorBrian Silverman <bsilver16384@gmail.com>
Tue, 16 Jun 2015 23:50:01 +0000 (16:50 -0700)
committerBrian Silverman <bsilver16384@gmail.com>
Tue, 16 Jun 2015 23:50:01 +0000 (16:50 -0700)
src/mock-log.h

index 5b21811..30a0f74 100644 (file)
@@ -115,7 +115,8 @@ class ScopedMockLog : public GOOGLE_NAMESPACE::LogSink {
   // WaitTillSent() and Log() are executed in the same thread.
   virtual void send(GOOGLE_NAMESPACE::LogSeverity severity,
                     const char* full_filename,
-                    const char* base_filename, int line, const tm* tm_time,
+                    const char* /*base_filename*/, int /*line*/,
+                    const tm* /*tm_time*/,
                     const char* message, size_t message_len) {
     // We are only interested in the log severity, full file name, and
     // log message.