mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix clang-7 warnings
This commit is contained in:
parent
994926e568
commit
8c640f54f8
@ -1037,7 +1037,7 @@ private:
|
||||
|
||||
while (true)
|
||||
{
|
||||
Stopwatch watch(CLOCK_MONOTONIC_COARSE);
|
||||
Stopwatch receive_watch(CLOCK_MONOTONIC_COARSE);
|
||||
|
||||
while (true)
|
||||
{
|
||||
@ -1062,7 +1062,7 @@ private:
|
||||
}
|
||||
else
|
||||
{
|
||||
double elapsed = watch.elapsedSeconds();
|
||||
double elapsed = receive_watch.elapsedSeconds();
|
||||
if (elapsed > receive_timeout.totalSeconds())
|
||||
{
|
||||
std::cout << "Timeout exceeded while receiving data from server."
|
||||
|
Loading…
Reference in New Issue
Block a user