mirror of
https://github.com/Mudlet/Mudlet
synced 2026-08-13 18:26:27 -04:00
Infrastructure: remove redundant ';'s from Q_UNUSED(...) macro (#7825)
#### Brief overview of PR changes/additions In all places in our code where we use `Q_UNUSED(...)` to silence a warning about an argument to a method/function that isn't used this PR removes any following `;` as this macro does NOT need it. #### Motivation for adding to Mudlet For consistency across the entirety of our code, so that all our usage of this macro is "correct" and doesn't include something that is unneeded. #### Other info (issues closed, discussion etc) There are places in third-party code that does include it but it isn't our job to clean those up! Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
This commit is contained in:
parent
dd802f042e
commit
7eb71281eb
28 changed files with 42 additions and 43 deletions
|
|
@ -3520,7 +3520,7 @@ void TMap::restore16ColorSet()
|
|||
void TMap::setUnsaved(const char* fromWhere)
|
||||
{
|
||||
#if !defined(DEBUG_MAPAUTOSAVE)
|
||||
Q_UNUSED(fromWhere);
|
||||
Q_UNUSED(fromWhere)
|
||||
#else
|
||||
QString nowString = QDateTime::currentDateTimeUtc().toString("HH:mm:ss.zzz");
|
||||
qDebug().nospace().noquote() << "TMap::setUnsaved(...) INFO - called at: " << nowString << " from: " << fromWhere << ".";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue