tst_moc: fix some -Wunused-* warnings on MinGW
Found while inspecting a recent MingWG log file from the CI. Amends da284ef10e0ef80776b9fc9b7bb0e6dc8d71ba63. Pick-to: 6.5 6.2 Change-Id: Ife10118710079e60c581314fa857be42452fe810 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 56ca2595526360f98d7824d815552635f87f178f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit ea57719d56024e2327289f924f31a6fbf3a91cb2)
This commit is contained in:
parent
e617d7cf0b
commit
8ac80ab149
@ -4289,6 +4289,8 @@ void tst_Moc::mocJsonOutput()
|
|||||||
return "Error waiting for diff process to finish.";
|
return "Error waiting for diff process to finish.";
|
||||||
return diffProc.readAllStandardOutput();
|
return diffProc.readAllStandardOutput();
|
||||||
#else
|
#else
|
||||||
|
Q_UNUSED(actual);
|
||||||
|
Q_UNUSED(expected);
|
||||||
return "Cannot launch diff. Please check allmocs.json and allmocs_baseline.json on disk.";
|
return "Cannot launch diff. Please check allmocs.json and allmocs_baseline.json on disk.";
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user