0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 01:04:41 +08:00

Some warning fix

This commit is contained in:
Sergey Yagovtsev 2016-09-18 18:11:33 +03:00
parent 2d4e22cc23
commit a59a18be95

View File

@ -467,9 +467,6 @@ void EasyMainWindow::listen()
m_downloadedBytes.store((loaded / (neededSize+1)) * 100); m_downloadedBytes.store((loaded / (neededSize+1)) * 100);
} }
int k = 0;
int z = k + 1;
} break; } break;
default: default:
@ -686,9 +683,6 @@ void EasyMainWindow::handleResults(const QString &s)
void EasyMainWindow::readTcpData() void EasyMainWindow::readTcpData()
{ {
QTcpSocket* pClientSocket = (QTcpSocket*)sender();
//qInfo() << "Rec: " << m_server->bytesAvailable() << "bytes max" << m_server->readBufferSize();
static qint64 necessarySize = 0; static qint64 necessarySize = 0;
static qint64 loadedSize = 0; static qint64 loadedSize = 0;
static auto timeBegin = std::chrono::system_clock::now(); static auto timeBegin = std::chrono::system_clock::now();