Fix warning
This commit is contained in:
@@ -12,5 +12,6 @@ message_validate(const union Message* message) {
|
|||||||
if(message->header.crc != crc16(message, length - sizeof(struct Footer)))
|
if(message->header.crc != crc16(message, length - sizeof(struct Footer)))
|
||||||
return MESSAGEERR_FOOTERCRC;
|
return MESSAGEERR_FOOTERCRC;
|
||||||
|
|
||||||
|
return MESSAGEERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user