Source-Changes-HG archive

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

[src/trunk]: src/sys/kern add a couple of fallthru comments.



details:   https://anonhg.NetBSD.org/src/rev/d76019ebfba1
branches:  trunk
changeset: 838907:d76019ebfba1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Feb 04 04:18:27 2019 +0000

description:
add a couple of fallthru comments.

diffstat:

 sys/kern/uipc_socket.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 4dfdce237062 -r d76019ebfba1 sys/kern/uipc_socket.c
--- a/sys/kern/uipc_socket.c    Mon Feb 04 04:09:13 2019 +0000
+++ b/sys/kern/uipc_socket.c    Mon Feb 04 04:18:27 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_socket.c,v 1.268 2018/12/22 14:28:56 maxv Exp $   */
+/*     $NetBSD: uipc_socket.c,v 1.269 2019/02/04 04:18:27 mrg Exp $    */
 
 /*-
  * Copyright (c) 2002, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.268 2018/12/22 14:28:56 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.269 2019/02/04 04:18:27 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -1844,7 +1844,9 @@
        }
 #endif /* COMPAT_50 */
 
+               /*FALLTHROUGH*/
        case SO_SNDTIMEO:
+               /*FALLTHROUGH*/
        case SO_RCVTIMEO:
                if (error)
                        error = sockopt_get(sopt, &tv, sizeof(tv));



Home | Main Index | Thread Index | Old Index