diff options
author | Peter Kasting <pkasting@google.com> | 2015-08-27 14:19:51 -0700 |
---|---|---|
committer | Peter Kasting <pkasting@google.com> | 2015-08-27 14:19:51 -0700 |
commit | d6801595277a194745ec65797e0c8447247066f9 (patch) | |
tree | 57eb080fb385711de96a605c090d804a1b09f0dd /src/google | |
parent | c7a1f8ec3b7ab4f6763e4d5c2663ad39e13a6aa0 (diff) | |
download | protobuf-d6801595277a194745ec65797e0c8447247066f9.tar.gz protobuf-d6801595277a194745ec65797e0c8447247066f9.tar.bz2 protobuf-d6801595277a194745ec65797e0c8447247066f9.zip |
Delete kNanosPerSecond from time.cc.
This variable is unused, and thus triggers a build warning on MSVC.
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/stubs/time.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/time.cc b/src/google/protobuf/stubs/time.cc index 3319a244..49c0412c 100644 --- a/src/google/protobuf/stubs/time.cc +++ b/src/google/protobuf/stubs/time.cc @@ -21,7 +21,6 @@ static const int64 kSecondsFromEraToEpoch = 62135596800LL; static const int64 kMinTime = -62135596800LL; // 0001-01-01T00:00:00 static const int64 kMaxTime = 253402300799LL; // 9999-12-31T23:59:59 -static const int kNanosPerSecond = 1000000000; static const int kNanosPerMillisecond = 1000000; static const int kNanosPerMicrosecond = 1000; |