Module Name:    src
Committed By:   rin
Date:           Wed Jun 14 00:28:55 UTC 2023

Modified Files:
        src/sys/lib/libsa: cread.c

Log Message:
Add /* FALLTHROUGH */ comment for sure.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/lib/libsa/cread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libsa/cread.c
diff -u src/sys/lib/libsa/cread.c:1.28 src/sys/lib/libsa/cread.c:1.29
--- src/sys/lib/libsa/cread.c:1.28	Sun Jan 17 04:35:42 2016
+++ src/sys/lib/libsa/cread.c	Wed Jun 14 00:28:55 2023
@@ -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) {

Reply via email to