@@ -147,7 +147,7 @@ class Event<void()> {
147
147
* @param a0..a4 Arguments to pass to the event
148
148
*/
149
149
void call () const {
150
- int id = post ();
150
+ MBED_UNUSED int id = post ();
151
151
MBED_ASSERT (id);
152
152
}
153
153
@@ -540,7 +540,7 @@ class Event<void(A0)> {
540
540
* @param a0..a4 Arguments to pass to the event
541
541
*/
542
542
void call (A0 a0) const {
543
- int id = post (a0);
543
+ MBED_UNUSED int id = post (a0);
544
544
MBED_ASSERT (id);
545
545
}
546
546
@@ -933,7 +933,7 @@ class Event<void(A0, A1)> {
933
933
* @param a0..a4 Arguments to pass to the event
934
934
*/
935
935
void call (A0 a0, A1 a1) const {
936
- int id = post (a0, a1);
936
+ MBED_UNUSED int id = post (a0, a1);
937
937
MBED_ASSERT (id);
938
938
}
939
939
@@ -1326,7 +1326,7 @@ class Event<void(A0, A1, A2)> {
1326
1326
* @param a0..a4 Arguments to pass to the event
1327
1327
*/
1328
1328
void call (A0 a0, A1 a1, A2 a2) const {
1329
- int id = post (a0, a1, a2);
1329
+ MBED_UNUSED int id = post (a0, a1, a2);
1330
1330
MBED_ASSERT (id);
1331
1331
}
1332
1332
@@ -1719,7 +1719,7 @@ class Event<void(A0, A1, A2, A3)> {
1719
1719
* @param a0..a4 Arguments to pass to the event
1720
1720
*/
1721
1721
void call (A0 a0, A1 a1, A2 a2, A3 a3) const {
1722
- int id = post (a0, a1, a2, a3);
1722
+ MBED_UNUSED int id = post (a0, a1, a2, a3);
1723
1723
MBED_ASSERT (id);
1724
1724
}
1725
1725
@@ -2112,7 +2112,7 @@ class Event<void(A0, A1, A2, A3, A4)> {
2112
2112
* @param a0..a4 Arguments to pass to the event
2113
2113
*/
2114
2114
void call (A0 a0, A1 a1, A2 a2, A3 a3, A4 a4) const {
2115
- int id = post (a0, a1, a2, a3, a4);
2115
+ MBED_UNUSED int id = post (a0, a1, a2, a3, a4);
2116
2116
MBED_ASSERT (id);
2117
2117
}
2118
2118
0 commit comments