summaryrefslogtreecommitdiff
path: root/lib/libcurses
diff options
context:
space:
mode:
authordenis <denis@cvs.openbsd.org>2020-06-05 19:51:00 +0000
committerdenis <denis@cvs.openbsd.org>2020-06-05 19:51:00 +0000
commit659b80aba7ce97881c95c78858f7f1e214ecd458 (patch)
tree40cd19c255616e93b5d52a63b1500ef5b77fd929 /lib/libcurses
parent52a394ba579160ce6d20a9141acc7c8f1f812cdd (diff)
Remove redundant code
Reported by Prof. Dr. Steffen Wendzel <wendzel @ hs-worms . de>, thanks! OK martijn@ sthen@
Diffstat (limited to 'lib/libcurses')
-rw-r--r--lib/libcurses/nc_tparm.h5
1 files changed, 2 insertions, 3 deletions
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