From edba1937a1f89ef230a5a304dc56af3c63b6ce4e Mon Sep 17 00:00:00 2001 From: Bram Oosterhuis Date: Wed, 17 Jul 2024 12:35:24 +0200 Subject: [PATCH] Bluetooth: save cycles in the driver --- Source/bluetooth/drivers/SerialDriver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/bluetooth/drivers/SerialDriver.h b/Source/bluetooth/drivers/SerialDriver.h index 1311d46..30561a5 100644 --- a/Source/bluetooth/drivers/SerialDriver.h +++ b/Source/bluetooth/drivers/SerialDriver.h @@ -234,11 +234,12 @@ namespace Bluetooth { Response& operator=(const Response& copy) = delete; public: +PUSH_WARNING(DISABLE_WARNING_MAYBE_UNINITIALIZED) inline Response(const command cmd, const uint16_t sequence) : Request(cmd, sequence, _value) - , _value() { } +POP_WARNING() inline ~Response() { }