Commit 6dcbf168 authored by Luis Javier Merino's avatar Luis Javier Merino Committed by Kurt Hindenburg
Browse files

Fix compiler warning

Use C++17 [[maybe_unused]] attribute instead of some traditional method
to silence the warning about a potentially unused argument.
parent f3d43ae3
Pipeline #107106 passed with stage
in 1 minute and 59 seconds
......@@ -516,10 +516,9 @@ void Vt102Emulation::receiveChars(const QVector<uint> &chars)
}
}
void Vt102Emulation::processChecksumRequest(int argc, int argv[])
void Vt102Emulation::processChecksumRequest([[maybe_unused]] int argc, int argv[])
{
int checksum = 0;
argc = argc;
#if defined(ENABLE_DECRQCRA)
int top, left, bottom, right;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment