Skip to content

Commit

Permalink
Fix compiler warning (#62)
Browse files Browse the repository at this point in the history
GCC 7.5 reporting "control reaches end of non-void function" in Debug builds
  • Loading branch information
graebm authored Jul 10, 2023
1 parent 4a07966 commit 668471f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/huffman.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,5 @@ int aws_huffman_decode(

/* This case is unreachable */
AWS_ASSERT(0);
return aws_raise_error(AWS_ERROR_INVALID_STATE);
}

0 comments on commit 668471f

Please sign in to comment.