aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Peter Kasting <pkasting@google.com>2015-08-27 14:19:51 -0700
committerGravatar Peter Kasting <pkasting@google.com>2015-08-27 14:19:51 -0700
commitd6801595277a194745ec65797e0c8447247066f9 (patch)
tree57eb080fb385711de96a605c090d804a1b09f0dd
parentc7a1f8ec3b7ab4f6763e4d5c2663ad39e13a6aa0 (diff)
Delete kNanosPerSecond from time.cc.
This variable is unused, and thus triggers a build warning on MSVC.
-rw-r--r--src/google/protobuf/stubs/time.cc1
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;