diff options
author | Jakob Buchgraber <buchgr@google.com> | 2017-04-25 12:49:00 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2017-04-25 12:49:00 +0200 |
commit | b1c75bc742aed980c7a2fe89f8abaa8ba02a0387 (patch) | |
tree | c209f83bc88c1905df9a9a9eac19a651c5f73c80 /src/google | |
parent | 4920e27a488976c9993cef686d868a846868eb56 (diff) | |
download | protobuf-b1c75bc742aed980c7a2fe89f8abaa8ba02a0387.tar.gz protobuf-b1c75bc742aed980c7a2fe89f8abaa8ba02a0387.tar.bz2 protobuf-b1c75bc742aed980c7a2fe89f8abaa8ba02a0387.zip |
Remove unused constants.
When compiling with -Werror, -Wunused-const-variable the build fails due
to those two constants not being used.
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/util/time_util.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/google/protobuf/util/time_util.cc b/src/google/protobuf/util/time_util.cc index b11f822a..82f1f4fb 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 <typename T> T CreateNormalized(int64 seconds, int64 nanos); |