Skip to content

Commit 42c66f2

Browse files
Merge pull request #44 from WebPlatformForEmbedded/fix/‘response’-may-be-used-uninitialized
Bluetooth: fix ‘response’ may be used uninitialized
2 parents e3e21f0 + 841a5bf commit 42c66f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/bluetooth/drivers/SerialDriver.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ namespace Bluetooth {
236236
public:
237237
inline Response(const command cmd, const uint16_t sequence)
238238
: Request(cmd, sequence, _value)
239+
, _value()
239240
{
240241
}
241242
inline ~Response()

0 commit comments

Comments
 (0)