Skip to content

Commit 2ebdf04

Browse files
committed
Merge branch 'code/hygiene'
* code/hygiene: hygiene, mark fallthroughs (again)
2 parents 08807e8 + f6af86e commit 2ebdf04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/tzraw.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ zif_open(const char *file)
366366
switch (hdr[offsetof(struct zih_s, tzh_version)]) {
367367
const unsigned char *hds;
368368
case '2':
369+
/*@fallthrough@*/
369370
case '3':
370371
hds = hdr;
371372
tmp.nlp = RDU32(hdr + offsetof(struct zih_s, tzh_leapcnt));
@@ -384,6 +385,7 @@ zif_open(const char *file)
384385
goto unmp;
385386
}
386387
hdr = hds;
388+
/*@fallthrough@*/
387389
case '\0':
388390
tmp.nlp = RDU32(hdr + offsetof(struct zih_s, tzh_leapcnt));
389391
tmp.ntr = RDU32(hdr + offsetof(struct zih_s, tzh_timecnt));

0 commit comments

Comments
 (0)