浏览代码

Merge pull request #3015 from buchgr/unused-consts

Remove unused constants.
Feng Xiao 8 年之前
父节点
当前提交
54d1701f6c
共有 1 个文件被更改,包括 0 次插入2 次删除
  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 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);