From a59a18be9533dd375e5574fb9966dc28db68b2df Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Sun, 18 Sep 2016 18:11:33 +0300 Subject: [PATCH] Some warning fix --- profiler_gui/main_window.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/profiler_gui/main_window.cpp b/profiler_gui/main_window.cpp index 4d71e9e..a94491b 100644 --- a/profiler_gui/main_window.cpp +++ b/profiler_gui/main_window.cpp @@ -467,9 +467,6 @@ void EasyMainWindow::listen() m_downloadedBytes.store((loaded / (neededSize+1)) * 100); } - int k = 0; - int z = k + 1; - } break; default: @@ -686,9 +683,6 @@ void EasyMainWindow::handleResults(const QString &s) void EasyMainWindow::readTcpData() { - QTcpSocket* pClientSocket = (QTcpSocket*)sender(); - - //qInfo() << "Rec: " << m_server->bytesAvailable() << "bytes max" << m_server->readBufferSize(); static qint64 necessarySize = 0; static qint64 loadedSize = 0; static auto timeBegin = std::chrono::system_clock::now();