Fix warnings

Fixed these warnings:

src/logging_unittest.cc: At global scope:
src/logging_unittest.cc:1081:13: warning: 'void MyCheck(bool, bool)' defined but not used [-Wunused-function]
 static void MyCheck(bool a, bool b) {
             ^~~~~~~
src/logging_unittest.cc:1078:13: warning: 'void MyFatal()' defined but not used [-Wunused-function]
 static void MyFatal() {
             ^~~~~~~
This commit is contained in:
Hemant 2018-10-12 13:25:19 +01:00 committed by GitHub
parent 8d7a107d68
commit 41a6a7880e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1075,13 +1075,14 @@ TEST(Strerror, logging) {
// Simple routines to look at the sizes of generated code for LOG(FATAL) and
// CHECK(..) via objdump
/*
static void MyFatal() {
LOG(FATAL) << "Failed";
}
static void MyCheck(bool a, bool b) {
CHECK_EQ(a, b);
}
*/
#ifdef HAVE_LIB_GMOCK
TEST(DVLog, Basic) {