aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmartynkov <kmartynkov@yandex-team.ru>2022-03-23 11:43:23 +0300
committerkmartynkov <kmartynkov@yandex-team.ru>2022-03-23 11:43:23 +0300
commit4caa329c6242e846e8a48c569b9dac78632ebdca (patch)
tree0acda660f6b83e5cc00313d4502090fb9a2744f5
parentbf160fca0164c4407b7f29aeb0cbf68745b71f61 (diff)
downloadydb-4caa329c6242e846e8a48c569b9dac78632ebdca.tar.gz
util: Fix -Wunused-but-set-variable
ref:0186c219d9c56c8f183ce0236e33f6d647fe5fa0
-rw-r--r--util/system/fasttime.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/util/system/fasttime.cpp b/util/system/fasttime.cpp
index 057a814f0a..22b9e9f466 100644
--- a/util/system/fasttime.cpp
+++ b/util/system/fasttime.cpp
@@ -164,7 +164,6 @@ namespace {
double sx = 0;
double sy = 0;
double sxx = 0;
- double syy = 0;
double sxy = 0;
for (size_t i = 0; i < n; ++i) {
@@ -174,7 +173,6 @@ namespace {
sx += x;
sy += y;
sxx += x * x;
- syy += y * y;
sxy += x * y;
}