From 659b80aba7ce97881c95c78858f7f1e214ecd458 Mon Sep 17 00:00:00 2001 From: denis Date: Fri, 5 Jun 2020 19:51:00 +0000 Subject: Remove redundant code Reported by Prof. Dr. Steffen Wendzel , thanks! OK martijn@ sthen@ --- lib/libcurses/nc_tparm.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libcurses') diff --git a/lib/libcurses/nc_tparm.h b/lib/libcurses/nc_tparm.h index 0100cd76e03..5b6d063128f 100644 --- a/lib/libcurses/nc_tparm.h +++ b/lib/libcurses/nc_tparm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nc_tparm.h,v 1.1 2010/01/12 23:21:59 nicm Exp $ */ +/* $OpenBSD: nc_tparm.h,v 1.2 2020/06/05 19:50:59 denis Exp $ */ /**************************************************************************** * Copyright (c) 2006 Free Software Foundation, Inc. * @@ -32,7 +32,7 @@ * Author: Thomas E. Dickey 2006 * ****************************************************************************/ -/* $Id: nc_tparm.h,v 1.1 2010/01/12 23:21:59 nicm Exp $ */ +/* $Id: nc_tparm.h,v 1.2 2020/06/05 19:50:59 denis Exp $ */ /* * Cast parameters past the formatting-string for tparm() to match the @@ -62,6 +62,5 @@ #define TPARM_3(a,b,c,d) TPARM_4(a,b,c,d,0) #define TPARM_2(a,b,c) TPARM_3(a,b,c,0) #define TPARM_1(a,b) TPARM_2(a,b,0) -#define TPARM_1(a,b) TPARM_2(a,b,0) #define TPARM_0(a) TPARM_1(a,0) #endif -- cgit v1.2.3