Selaa lähdekoodia

Remove unused constants.

When compiling with -Werror, -Wunused-const-variable the build fails due
to those two constants not being used.
Jakob Buchgraber 8 vuotta sitten
vanhempi
commit
b1c75bc742
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  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);