From b1c75bc742aed980c7a2fe89f8abaa8ba02a0387 Mon Sep 17 00:00:00 2001 From: Jakob Buchgraber Date: Tue, 25 Apr 2017 12:49:00 +0200 Subject: [PATCH] Remove unused constants. When compiling with -Werror, -Wunused-const-variable the build fails due to those two constants not being used. --- src/google/protobuf/util/time_util.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/google/protobuf/util/time_util.cc b/src/google/protobuf/util/time_util.cc index b11f822ad..82f1f4fb4 100644 --- a/src/google/protobuf/util/time_util.cc +++ b/src/google/protobuf/util/time_util.cc @@ -49,11 +49,9 @@ static const int kNanosPerSecond = 1000000000; static const int kMicrosPerSecond = 1000000; static const int kMillisPerSecond = 1000; static const int kNanosPerMillisecond = 1000000; -static const int kMicrosPerMillisecond = 1000; static const int kNanosPerMicrosecond = 1000; static const int kSecondsPerMinute = 60; // Note that we ignore leap seconds. static const int kSecondsPerHour = 3600; -static const char kTimestampFormat[] = "%E4Y-%m-%dT%H:%M:%S"; template T CreateNormalized(int64 seconds, int64 nanos);