diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-01-09 10:54:27 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2024-01-10 09:45:48 +0100 |
commit | 56ca2595526360f98d7824d815552635f87f178f (patch) | |
tree | 65f57b6380efbc5e670213dbf90feb7e3129d907 /tests/auto/tools/moc/tst_moc.cpp | |
parent | 93af86bad566bf4c2c0a5fa7f64e84daaa20a311 (diff) |
tst_moc: fix some -Wunused-* warnings on MinGW
Found while inspecting a recent MingWG log file from the CI.
Amends da284ef10e0ef80776b9fc9b7bb0e6dc8d71ba63.
Pick-to: 6.7 6.6 6.5 6.2
Change-Id: Ife10118710079e60c581314fa857be42452fe810
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/tools/moc/tst_moc.cpp')
-rw-r--r-- | tests/auto/tools/moc/tst_moc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/tst_moc.cpp b/tests/auto/tools/moc/tst_moc.cpp index cb2ac2d18a..3a72e9bf4b 100644 --- a/tests/auto/tools/moc/tst_moc.cpp +++ b/tests/auto/tools/moc/tst_moc.cpp @@ -4279,6 +4279,8 @@ void tst_Moc::mocJsonOutput() return "Error waiting for diff process to finish."; return diffProc.readAllStandardOutput(); #else + Q_UNUSED(actual); + Q_UNUSED(expected); return "Cannot launch diff. Please check allmocs.json and allmocs_baseline.json on disk."; #endif }; |