From a6eb3374388ac4c861ece48f85ca5765a690eb56 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Tue, 2 May 2017 14:19:10 +0200 Subject: [PATCH] AP_Notify: remove unused variables --- libraries/AP_Notify/Display_SH1106_I2C.cpp | 2 -- libraries/AP_Notify/Display_SSD1306_I2C.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/libraries/AP_Notify/Display_SH1106_I2C.cpp b/libraries/AP_Notify/Display_SH1106_I2C.cpp index cd010238b2..906c6bea6f 100644 --- a/libraries/AP_Notify/Display_SH1106_I2C.cpp +++ b/libraries/AP_Notify/Display_SH1106_I2C.cpp @@ -19,8 +19,6 @@ #include #include -static const AP_HAL::HAL& hal = AP_HAL::get_HAL(); - // constructor Display_SH1106_I2C::Display_SH1106_I2C(AP_HAL::OwnPtr dev) : _dev(std::move(dev)) diff --git a/libraries/AP_Notify/Display_SSD1306_I2C.cpp b/libraries/AP_Notify/Display_SSD1306_I2C.cpp index 20ff5574f0..c67af8c493 100644 --- a/libraries/AP_Notify/Display_SSD1306_I2C.cpp +++ b/libraries/AP_Notify/Display_SSD1306_I2C.cpp @@ -19,8 +19,6 @@ #include #include -static const AP_HAL::HAL& hal = AP_HAL::get_HAL(); - // constructor Display_SSD1306_I2C::Display_SSD1306_I2C(AP_HAL::OwnPtr dev) : _dev(std::move(dev))