diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2017-04-26 11:09:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 11:09:42 -0700 |
commit | 54d1701f6cd1df167db6b73320e5fe6361907d2c (patch) | |
tree | c209f83bc88c1905df9a9a9eac19a651c5f73c80 /src | |
parent | 4920e27a488976c9993cef686d868a846868eb56 (diff) | |
parent | b1c75bc742aed980c7a2fe89f8abaa8ba02a0387 (diff) |
Merge pull request #3015 from buchgr/unused-consts
Remove unused constants.
Diffstat (limited to 'src')
-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); |