mcci-catena / Catena-Arduino-Platform

Arduino platform library for MCCI Catena IoT Systems
MIT License
12 stars 11 forks source link

Fix compile warnings in FramStorage #143

Closed terrillmoore closed 5 years ago

terrillmoore commented 5 years ago

With some compilers we get warnings like this:

Catena_FramStorage.h: In member function uint8_t McciCatena::cFramStorage::Object::setCurrent(uint8_t)

Catena_FramStorage.h: 357:3: warning: no return statement in function returning non-void [-Wreturn-type]

Problem is that cFramStorage::setCurrent() should be declared as void.