diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-15 11:41:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-15 11:41:05 +0000 |
commit | 37393a89d0baca86189de2995545e5ce5fae2bec (patch) | |
tree | e163b14ae72ff6844e0c3d50707228342c4ffa1e /lib/libcurses/tinfo/captoinfo.c | |
parent | 9120659b526789e2804ac5784a90b260b5fc261b (diff) |
Update to ncurses-5.0-990814
Diffstat (limited to 'lib/libcurses/tinfo/captoinfo.c')
-rw-r--r-- | lib/libcurses/tinfo/captoinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/tinfo/captoinfo.c b/lib/libcurses/tinfo/captoinfo.c index 11b7d07e929..74185ae0ccf 100644 --- a/lib/libcurses/tinfo/captoinfo.c +++ b/lib/libcurses/tinfo/captoinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: captoinfo.c,v 1.2 1999/03/02 06:23:28 millert Exp $ */ +/* $OpenBSD: captoinfo.c,v 1.3 1999/08/15 11:40:55 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -96,7 +96,7 @@ #include <ctype.h> #include <tic.h> -MODULE_ID("$From: captoinfo.c,v 1.23 1999/02/28 23:42:20 tom Exp $") +MODULE_ID("$From: captoinfo.c,v 1.24 1999/07/24 20:06:13 tom Exp $") #define MAX_PUSHED 16 /* max # args we can push onto the stack */ #define MAX_ENTRY 2048 /* maximum chars in a translated capability */ @@ -588,7 +588,7 @@ int const parametrized) /* do % translations if 1, pad translations if >=0 */ for (; *str && str != trimmed; str++) { int c1, c2; - char *cp; + char *cp = 0; if (str[0] == '\\' && (str[1] == '^' || str[1] == ',')) { |