summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-02-13 16:36:37 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-02-13 16:36:37 +0000
commitbc83411afcf0c4901be8fd5e08a4057f53c69429 (patch)
tree85479fa62b7e48d3cfd1fa370475b3e8ed880665
parent366c6b86f6ae6267c79f65aae901267578fd35b7 (diff)
downloadmailutils-bc83411afcf0c4901be8fd5e08a4057f53c69429.tar.gz
mailutils-bc83411afcf0c4901be8fd5e08a4057f53c69429.tar.bz2
(mh_format_parse): Bugfix. Initialize prog to zero.
-rw-r--r--mh/mh_fmtgram.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/mh/mh_fmtgram.y b/mh/mh_fmtgram.y
index 9e548f407..e1110f617 100644
--- a/mh/mh_fmtgram.y
+++ b/mh/mh_fmtgram.y
@@ -502,6 +502,7 @@ mh_format_parse (char *format_str, mh_format_t *fmt)
yydebug = 1;
start = curp = format_str;
obstack_init (&stack);
+ format.prog = NULL;
format.progsize = 0;
pc = 0;
mh_code_op (mhop_stop);

Return to:

Send suggestions and report system problems to the System administrator.