From c8aaceb6acad534fd928f910b321d2294b1c5346 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 18 Jan 2021 12:27:32 +1100 Subject: [PATCH] AP_LeakDetector: remove warning message on all non-sub builds pointless pragma --- libraries/AP_LeakDetector/AP_LeakDetector.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_LeakDetector/AP_LeakDetector.cpp b/libraries/AP_LeakDetector/AP_LeakDetector.cpp index 1127bbd769..aa482cca21 100644 --- a/libraries/AP_LeakDetector/AP_LeakDetector.cpp +++ b/libraries/AP_LeakDetector/AP_LeakDetector.cpp @@ -84,8 +84,6 @@ void AP_LeakDetector::init() _state[i].instance = i; _drivers[i] = new AP_LeakDetector_Digital(*this, _state[i]); break; -#else -#pragma message("Board does not support LeakDetection") #endif default: _drivers[i] = NULL;