Skip to content

Commit e5545df

Browse files
committed
Fix #196: -Wunused-parameter warnings
1 parent 5d900f3 commit e5545df

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ Much more elaborate uses can be found in the MCCI [Catena-Arduino-Platform](http
430430
431431
- Head includes the following changes.
432432
433+
- Fix `-Wunused-parameter` warnings from gcc. ([#196](https://github.com/mcci-catena/arduino-lorawan/issues/196)). This is v0.9.2-pre3.
433434
- Apply pre-release version to `library.properties` and `library.json` ([#195](https://github.com/mcci-catena/arduino-lorawan/issues/195)). This is v0.9.2-pre2.
434435
- Correct error, missing `return true` at end of `Arduino_LoRaWAN::ApplySessionState()`. ([#194])(https://github.com/mcci-catena/arduino-lorawan/issues/194)).
435436
- Correct error in logging, missing `return true` in `Arduino_LoRaWAN::cEventLog::processSingleEvent()` ([#191](https://github.com/mcci-catena/arduino-lorawan/issues/191)). This is v0.9.2-pre1.

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"authors": ["Terry Moore <tmm@mcci.com>"]
3232
}
3333
],
34-
"version": "0.9.2-pre2",
34+
"version": "0.9.2-pre3",
3535
"frameworks": "arduino",
3636
"platforms": "*"
3737
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=MCCI Arduino LoRaWAN Library
2-
version=0.9.2-pre2
2+
version=0.9.2-pre3
33
author=Terry Moore, ChaeHee Won
44
maintainer=Terry Moore <tmm@mcci.com>
55
sentence=High-level library for LoRaWAN-based Arduino end-devices.

src/Arduino_LoRaWAN.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Copyright notice:
3434
/// \ref ARDUINO_LORAWAN_VERSION_COMPARE_LT() to compare relative versions.
3535
///
3636
#define ARDUINO_LORAWAN_VERSION \
37-
ARDUINO_LORAWAN_VERSION_CALC(0, 9, 2, 2) /* v0.9.2-pre2 */
37+
ARDUINO_LORAWAN_VERSION_CALC(0, 9, 2, 3) /* v0.9.2-pre3 */
3838

3939
#define ARDUINO_LORAWAN_VERSION_GET_MAJOR(v) \
4040
(((v) >> 24u) & 0xFFu)
@@ -844,6 +844,10 @@ class Arduino_LoRaWAN
844844
size_t nExtraSessionInfo
845845
)
846846
{
847+
MCCIADK_API_PARAMETER(SessionInfo);
848+
MCCIADK_API_PARAMETER(pExtraSessionInfo);
849+
MCCIADK_API_PARAMETER(nExtraSessionInfo);
850+
847851
// default: do nothing.
848852
}
849853

@@ -854,6 +858,8 @@ class Arduino_LoRaWAN
854858
SessionState &State
855859
)
856860
{
861+
MCCIADK_API_PARAMETER(State);
862+
857863
// default: not implemented.
858864
return false;
859865
}
@@ -866,6 +872,8 @@ class Arduino_LoRaWAN
866872
const SessionState &State
867873
)
868874
{
875+
MCCIADK_API_PARAMETER(State);
876+
869877
// default: do nothing.
870878
}
871879

0 commit comments

Comments
 (0)