Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/isdn/isdnmonitor PR/50860: David Binderman: Remove ...



details:   https://anonhg.NetBSD.org/src/rev/9c5e21fcecf7
branches:  trunk
changeset: 343785:9c5e21fcecf7
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 26 18:20:00 2016 +0000

description:
PR/50860: David Binderman: Remove redundant code.

diffstat:

 usr.sbin/isdn/isdnmonitor/main.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r cc0d7c29a4a9 -r 9c5e21fcecf7 usr.sbin/isdn/isdnmonitor/main.c
--- a/usr.sbin/isdn/isdnmonitor/main.c  Fri Feb 26 18:19:16 2016 +0000
+++ b/usr.sbin/isdn/isdnmonitor/main.c  Fri Feb 26 18:20:00 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.12 2011/08/31 13:32:37 joerg Exp $ */
+/* $NetBSD: main.c,v 1.13 2016/02/26 18:20:00 christos Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -1169,7 +1169,7 @@
        vsnprintf(buffer, PRBUFLEN-1, fmt, ap);
        va_end(ap);
 
-       if (!fullscreen || (fullscreen && (!curses_ready)))
+       if (!fullscreen || !curses_ready)
                printf("%s", buffer);
        
        if (logfilename != NULL)



Home | Main Index | Thread Index | Old Index