summaryrefslogtreecommitdiff
path: root/lib/libtermlib/tparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libtermlib/tparm.c')
-rw-r--r--lib/libtermlib/tparm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libtermlib/tparm.c b/lib/libtermlib/tparm.c
index 6e163dbfd5a..a8c8d262181 100644
--- a/lib/libtermlib/tparm.c
+++ b/lib/libtermlib/tparm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tparm.c,v 1.2 1996/06/02 23:47:51 tholo Exp $ */
+/* $OpenBSD: tparm.c,v 1.3 1996/09/16 02:41:53 tholo Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,7 +31,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: tparm.c,v 1.2 1996/06/02 23:47:51 tholo Exp $";
+static char rcsid[] = "$OpenBSD: tparm.c,v 1.3 1996/09/16 02:41:53 tholo Exp $";
#endif
#include <stdio.h>
@@ -345,9 +345,11 @@ tparm(va_alist)
va_start(ap);
str = va_arg(ap, const char *);
#else
+ /* LINTED pointer casts may be troublesome */
va_start(ap, str);
#endif
p = _tparm(str, buf, ap);
+ /* LINTED expression has no effect */
va_end(ap);
return(p);
}