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/c95f3bcd3730
branches:  trunk
changeset: 448490:c95f3bcd3730
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 e8dffa7f2cd6 -r c95f3bcd3730 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