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 Remove enclosing parens on return.



details:   https://anonhg.NetBSD.org/src/rev/3755731c8e75
branches:  trunk
changeset: 331745:3755731c8e75
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Aug 22 17:19:48 2014 +0000

description:
Remove enclosing parens on return.

diffstat:

 common/lib/libc/gen/rb.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 86e05e56c1bb -r 3755731c8e75 common/lib/libc/gen/rb.c
--- a/common/lib/libc/gen/rb.c  Fri Aug 22 17:17:02 2014 +0000
+++ b/common/lib/libc/gen/rb.c  Fri Aug 22 17:19:48 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rb.c,v 1.12 2014/08/22 17:17:02 riastradh Exp $        */
+/*     $NetBSD: rb.c,v 1.13 2014/08/22 17:19:48 matt Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -39,10 +39,10 @@
 #else
 #define KASSERT(s)     do { } while (/*CONSTCOND*/ 0)
 #endif
-__RCSID("$NetBSD: rb.c,v 1.12 2014/08/22 17:17:02 riastradh Exp $");
+__RCSID("$NetBSD: rb.c,v 1.13 2014/08/22 17:19:48 matt Exp $");
 #else
 #include <lib/libkern/libkern.h>
-__KERNEL_RCSID(0, "$NetBSD: rb.c,v 1.12 2014/08/22 17:17:02 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rb.c,v 1.13 2014/08/22 17:19:48 matt Exp $");
 #endif
 
 #ifdef _LIBC
@@ -145,7 +145,7 @@
                parent = parent->rb_nodes[diff < 0];
        }
 
-       return (last == NULL ? NULL : RB_NODETOITEM(rbto, last));
+       return last == NULL ? NULL : RB_NODETOITEM(rbto, last);
 }
 
 void *
@@ -166,7 +166,7 @@
                parent = parent->rb_nodes[diff < 0];
        }
 
-       return (last == NULL ? NULL : RB_NODETOITEM(rbto, last));
+       return last == NULL ? NULL : RB_NODETOITEM(rbto, last);
 }
 
 void *



Home | Main Index | Thread Index | Old Index