Skip to content

Commit

Permalink
x509asn1: add /* fallthrough */ in switch() case
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Mar 21, 2015
1 parent e6917d3 commit 9cd4d65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/x509asn1.c
Expand Up @@ -297,8 +297,10 @@ utf8asn1str(char * * to, int type, const char * from, const char * end)
case 4:
wc = (wc << 8) | *(const unsigned char *) from++;
wc = (wc << 8) | *(const unsigned char *) from++;
/* fallthrough */
case 2:
wc = (wc << 8) | *(const unsigned char *) from++;
/* fallthrough */
default: /* case 1: */
wc = (wc << 8) | *(const unsigned char *) from++;
}
Expand Down

0 comments on commit 9cd4d65

Please sign in to comment.