From 87a36426cf0c25d4cae95f6eb3ffd282605dac56 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Sun, 23 Jan 2022 16:43:58 +0000 Subject: [PATCH] Fix some compile warnings --- main.cpp | 1 + rigcommander.cpp | 1 + wfserver.vcxproj.user | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index f5e91c7..89f6792 100644 --- a/main.cpp +++ b/main.cpp @@ -141,6 +141,7 @@ int main(int argc, char *argv[]) #ifdef BUILD_WFSERVER servermain *w = new servermain(serialPortCL, hostCL, settingsFile); + Q_UNUSED(w); // Prevent warning! #else a.setWheelScrollLines(1); // one line per wheel click diff --git a/rigcommander.cpp b/rigcommander.cpp index fbef41a..37df970 100644 --- a/rigcommander.cpp +++ b/rigcommander.cpp @@ -4555,6 +4555,7 @@ void rigCommander::stateUpdated() break; // All meters can only be updated from the rig end. case SMETER: + case SWRMETER: case POWERMETER: case ALCMETER: case COMPMETER: diff --git a/wfserver.vcxproj.user b/wfserver.vcxproj.user index 65dc681..04ba52a 100644 --- a/wfserver.vcxproj.user +++ b/wfserver.vcxproj.user @@ -2,9 +2,9 @@ - 2022-01-17T12:12:10.6444561Z + 2022-01-23T13:00:12.7440722Z - 2022-01-17T12:12:12.8619428Z + 2022-01-23T13:00:16.3164650Z \ No newline at end of file