diff options
Diffstat (limited to 'src/mongo/db/commands/cpuload.cpp')
-rw-r--r-- | src/mongo/db/commands/cpuload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/cpuload.cpp b/src/mongo/db/commands/cpuload.cpp index 23279a4b688..400cdc3a4d8 100644 --- a/src/mongo/db/commands/cpuload.cpp +++ b/src/mongo/db/commands/cpuload.cpp @@ -72,7 +72,7 @@ public: } long long limit = 10000 * cpuFactor; // volatile used to ensure that loop is not optimized away - volatile uint64_t lresult = 0; // NOLINT + volatile uint64_t lresult [[maybe_unused]] = 0; // NOLINT uint64_t x = 100; for (long long i = 0; i < limit; i++) { x *= 13; |