summaryrefslogtreecommitdiff
path: root/lib/x509asn1.c
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-06-03 20:10:52 +0200
committerMarcel Raad <raad@teamviewer.com>2017-06-03 20:10:52 +0200
commit15136a526847ea4d9490e8e5744834df9f6701b2 (patch)
treeaa9b83c38c731ba914dfa814f6870c94b44dbb4a /lib/x509asn1.c
parentf8518059cecfaf2b338389cef7f71f145b21226d (diff)
downloadcurl-15136a526847ea4d9490e8e5744834df9f6701b2.tar.gz
x509asn1: fix implicit-fallthrough warning with GCC 7
Diffstat (limited to 'lib/x509asn1.c')
-rw-r--r--lib/x509asn1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/x509asn1.c b/lib/x509asn1.c
index c4bc7c1fd..bba20233f 100644
--- a/lib/x509asn1.c
+++ b/lib/x509asn1.c
@@ -466,6 +466,7 @@ static const char *GTime2str(const char *beg, const char *end)
break;
case 2:
sec1 = fracp[-2];
+ /* FALLTHROUGH */
case 1:
sec2 = fracp[-1];
break;