diff options
author | JF <jf@codingfield.com> | 2020-08-17 16:31:00 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-08-17 16:31:00 +0200 |
commit | 83f6d7d81b80809de0bc850a0b445bc035098dba (patch) | |
tree | 1e0187c2f622f17fafe15dad709089d5d04180cb /src/Components/Ble/MusicService.cpp | |
parent | 18686ac2cbf6b97dd0250234ce128bd9ad350d6e (diff) |
Fix most of the warnings. Remaining warnings come from nimble source code.
Diffstat (limited to 'src/Components/Ble/MusicService.cpp')
-rw-r--r-- | src/Components/Ble/MusicService.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Components/Ble/MusicService.cpp b/src/Components/Ble/MusicService.cpp index 5ec76697..b5fa5356 100644 --- a/src/Components/Ble/MusicService.cpp +++ b/src/Components/Ble/MusicService.cpp @@ -117,7 +117,6 @@ unsigned char Pinetime::Controllers::MusicService::status() void Pinetime::Controllers::MusicService::event(char event) { auto *om = ble_hs_mbuf_from_flat(&event, 1); - int ret; uint16_t connectionHandle = m_system.nimble().connHandle(); @@ -125,6 +124,6 @@ void Pinetime::Controllers::MusicService::event(char event) return; } - ret = ble_gattc_notify_custom(connectionHandle, m_eventHandle, om); + ble_gattc_notify_custom(connectionHandle, m_eventHandle, om); } |