Chromium Code Reviews| Index: base/logging.cc |
| diff --git a/base/logging.cc b/base/logging.cc |
| index 4390d8cda3069f2c63f7dbd83b97765658773e5c..d1405ff2ea879cc61aaebb744ee0913ce4ac0cad 100644 |
| --- a/base/logging.cc |
| +++ b/base/logging.cc |
| @@ -205,7 +205,8 @@ class LoggingLock { |
| UnlockLogging(); |
| } |
| - static void Init(LogLockingState lock_log, const PathChar* new_log_file) { |
| + static void Init(LogLockingState lock_log, |
| + const PathChar* /* new_log_file */) { |
| if (initialized) |
| return; |
| lock_log_file = lock_log; |
| @@ -455,7 +456,7 @@ template std::string* MakeCheckOpString<std::string, std::string>( |
| const std::string&, const std::string&, const char* name); |
| template <> |
| -void MakeCheckOpValueString(std::ostream* os, const std::nullptr_t& p) { |
| +void MakeCheckOpValueString(std::ostream* os, const std::nullptr_t& /* p */) { |
|
danakj
2016/05/23 02:59:54
delete the name, it adds nothing
Luis Héctor Chávez
2016/05/24 15:27:53
Done.
|
| (*os) << "nullptr"; |
| } |