Add /* FALLTHROUGH */ comment for sure.

This commit is contained in:
rin 2023-06-14 00:28:55 +00:00
parent b71626ce39
commit 744263e3e0
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cread.c,v 1.28 2016/01/17 04:35:42 tsutsui Exp $ */
/* $NetBSD: cread.c,v 1.29 2023/06/14 00:28:55 rin Exp $ */
/*
* Copyright (c) 1996
@ -453,6 +453,7 @@ lseek(int fd, off_t offset, int where)
switch(where) {
case SEEK_CUR:
offset += s->stream.total_out;
/* FALLTHROUGH */
case SEEK_SET:
/* if seek backwards, simply start from the beginning */
if (offset < s->stream.total_out) {