Skip to content

Commit 0b92c2d

Browse files
Bluetooth: save cycles in the driver (#45)
1 parent 42c66f2 commit 0b92c2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/bluetooth/drivers/SerialDriver.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,12 @@ namespace Bluetooth {
234234
Response& operator=(const Response& copy) = delete;
235235

236236
public:
237+
PUSH_WARNING(DISABLE_WARNING_MAYBE_UNINITIALIZED)
237238
inline Response(const command cmd, const uint16_t sequence)
238239
: Request(cmd, sequence, _value)
239-
, _value()
240240
{
241241
}
242+
POP_WARNING()
242243
inline ~Response()
243244
{
244245
}

0 commit comments

Comments
 (0)