aboutsummaryrefslogtreecommitdiff
path: root/src/timedata.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2018-04-29 22:29:42 +0200
committerpracticalswift <[email protected]>2018-04-29 22:29:42 +0200
commitcf13ad23d4f873b41a235ba3c7b22eb81de69f2d (patch)
tree6fe70bcbda258095512711eee44ff7c97699ec69 /src/timedata.cpp
parentAdd Clang thread safety annotations for variables guarded by cs_rpcWarmup (diff)
downloaddiscoin-cf13ad23d4f873b41a235ba3c7b22eb81de69f2d.tar.xz
discoin-cf13ad23d4f873b41a235ba3c7b22eb81de69f2d.zip
Add Clang thread safety annotations for variables guarded by cs_nTimeOffset
Diffstat (limited to 'src/timedata.cpp')
-rw-r--r--src/timedata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedata.cpp b/src/timedata.cpp
index a803b2fc8..d484a1b0d 100644
--- a/src/timedata.cpp
+++ b/src/timedata.cpp
@@ -17,7 +17,7 @@
static CCriticalSection cs_nTimeOffset;
-static int64_t nTimeOffset = 0;
+static int64_t nTimeOffset GUARDED_BY(cs_nTimeOffset) = 0;
/**
* "Never go to sea with two chronometers; take one or three."