From 668471fb02a2ba2823462b5a82270f5f507e5aa1 Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Mon, 10 Jul 2023 08:23:32 -0700 Subject: [PATCH] Fix compiler warning (#62) GCC 7.5 reporting "control reaches end of non-void function" in Debug builds --- source/huffman.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/huffman.c b/source/huffman.c index 074c9f4..5a898e1 100644 --- a/source/huffman.c +++ b/source/huffman.c @@ -282,4 +282,5 @@ int aws_huffman_decode( /* This case is unreachable */ AWS_ASSERT(0); + return aws_raise_error(AWS_ERROR_INVALID_STATE); }