From 2970a292c67517eb54529d39c0f3ae0a4a3ba2a9 Mon Sep 17 00:00:00 2001 From: Srivats P Date: Tue, 28 Jun 2022 18:32:39 +0530 Subject: [PATCH] Fix build break and warnings --- server/turbo.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/turbo.cpp b/server/turbo.cpp index 024c7046..6257d1bc 100644 --- a/server/turbo.cpp +++ b/server/turbo.cpp @@ -24,12 +24,12 @@ bool initTurbo() return true; } -bool isTurboPort(const char* device) +bool isTurboPort(const char* /*device*/) { return false; } -AbstractPort* createTurboPort(int id, const char* device) +AbstractPort* createTurboPort(int /*id*/, const char* /*device*/) { return nullptr; } @@ -38,5 +38,3 @@ bool processTurboOption(int /*opt*/) { return false; } -#endif -