Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdio add linted comment



details:   https://anonhg.NetBSD.org/src/rev/ac61e9f752ce
branches:  trunk
changeset: 350344:ac61e9f752ce
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 17:44:28 2017 +0000

description:
add linted comment

diffstat:

 lib/libc/stdio/fseeko.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 30d6523a02c5 -r ac61e9f752ce lib/libc/stdio/fseeko.c
--- a/lib/libc/stdio/fseeko.c   Tue Jan 10 17:16:19 2017 +0000
+++ b/lib/libc/stdio/fseeko.c   Tue Jan 10 17:44:28 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fseeko.c,v 1.13 2014/10/19 11:17:43 justin Exp $       */
+/*     $NetBSD: fseeko.c,v 1.14 2017/01/10 17:44:28 christos Exp $     */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fseeko.c,v 1.13 2014/10/19 11:17:43 justin Exp $");
+__RCSID("$NetBSD: fseeko.c,v 1.14 2017/01/10 17:44:28 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -130,6 +130,7 @@
                        FUNLOCKFILE(fp);
                        return -1;
                }
+               /*FALLTHROUGH*/
        case SEEK_END:
                curoff = 0;             /* XXX just to keep gcc quiet */
                havepos = 0;



Home | Main Index | Thread Index | Old Index