Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/gen unwarp a short line



details:   https://anonhg.NetBSD.org/src/rev/f829b8f9f189
branches:  trunk
changeset: 770369:f829b8f9f189
user:      yamt <yamt%NetBSD.org@localhost>
date:      Fri Oct 14 16:15:54 2011 +0000

description:
unwarp a short line

diffstat:

 common/lib/libc/gen/radixtree.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 32b6c02abab3 -r f829b8f9f189 common/lib/libc/gen/radixtree.c
--- a/common/lib/libc/gen/radixtree.c   Fri Oct 14 16:10:47 2011 +0000
+++ b/common/lib/libc/gen/radixtree.c   Fri Oct 14 16:15:54 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radixtree.c,v 1.13 2011/10/14 16:10:47 yamt Exp $      */
+/*     $NetBSD: radixtree.c,v 1.14 2011/10/14 16:15:54 yamt Exp $      */
 
 /*-
  * Copyright (c)2011 YAMAMOTO Takashi,
@@ -41,7 +41,7 @@
 #include <sys/cdefs.h>
 
 #if defined(_KERNEL) || defined(_STANDALONE)
-__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.13 2011/10/14 16:10:47 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radixtree.c,v 1.14 2011/10/14 16:15:54 yamt Exp $");
 #include <sys/param.h>
 #include <sys/errno.h>
 #include <sys/pool.h>
@@ -51,7 +51,7 @@
 #include <lib/libsa/stand.h>
 #endif /* defined(_STANDALONE) */
 #else /* defined(_KERNEL) || defined(_STANDALONE) */
-__RCSID("$NetBSD: radixtree.c,v 1.13 2011/10/14 16:10:47 yamt Exp $");
+__RCSID("$NetBSD: radixtree.c,v 1.14 2011/10/14 16:15:54 yamt Exp $");
 #include <assert.h>
 #include <errno.h>
 #include <stdbool.h>
@@ -663,8 +663,7 @@
                        if (entry_match_p(n->n_ptrs[i], tagmask)) {
                                vpp = &n->n_ptrs[i];
                                path->p_refs[lastidx].pptr = vpp;
-                               KASSERT(path_idx(t, path, lastidx - 1)
-                                   == i);
+                               KASSERT(path_idx(t, path, lastidx - 1) == i);
                                break;
                        }
                }



Home | Main Index | Thread Index | Old Index