Browse Source

Merge pull request #3015 from buchgr/unused-consts

Remove unused constants.
Feng Xiao 8 years ago
parent
commit
54d1701f6c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/google/protobuf/util/time_util.cc

+ 0 - 2
src/google/protobuf/util/time_util.cc

@@ -49,11 +49,9 @@ static const int kNanosPerSecond = 1000000000;
 static const int kMicrosPerSecond = 1000000;
 static const int kMicrosPerSecond = 1000000;
 static const int kMillisPerSecond = 1000;
 static const int kMillisPerSecond = 1000;
 static const int kNanosPerMillisecond = 1000000;
 static const int kNanosPerMillisecond = 1000000;
-static const int kMicrosPerMillisecond = 1000;
 static const int kNanosPerMicrosecond = 1000;
 static const int kNanosPerMicrosecond = 1000;
 static const int kSecondsPerMinute = 60;  // Note that we ignore leap seconds.
 static const int kSecondsPerMinute = 60;  // Note that we ignore leap seconds.
 static const int kSecondsPerHour = 3600;
 static const int kSecondsPerHour = 3600;
-static const char kTimestampFormat[] = "%E4Y-%m-%dT%H:%M:%S";
 
 
 template <typename T>
 template <typename T>
 T CreateNormalized(int64 seconds, int64 nanos);
 T CreateNormalized(int64 seconds, int64 nanos);