From ab22567f658ba52fce92c142e5d51c8d7f5e4823 Mon Sep 17 00:00:00 2001 From: PgSocks Date: Tue, 27 Dec 2022 19:10:32 -0600 Subject: [PATCH] Fix warning --- src/message.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/message.c b/src/message.c index 0c9cb64..d73fe75 100644 --- a/src/message.c +++ b/src/message.c @@ -12,5 +12,6 @@ message_validate(const union Message* message) { if(message->header.crc != crc16(message, length - sizeof(struct Footer))) return MESSAGEERR_FOOTERCRC; + return MESSAGEERR_NONE; }