Permalink
Browse files

util/yy: make gethex return 0 on error (fixes a warning)

  • Loading branch information...
1 parent d4a3cde commit 4386a472a0ce26336b816bb6f9b2ab75cb7e3868 @mupuf mupuf committed Dec 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 util/yy.c
View
@@ -50,6 +50,7 @@ static int gethex(char c) {
if (c >= 'A' && c <= 'F')
return c - 'A' + 0xa;
assert(0);
+ return 0;
}
void yy_str_deescape(const char *str, struct astr *astr) {

0 comments on commit 4386a47

Please sign in to comment.