From 6d90747939668188fcfa44a06649698cb727cbbb Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 27 Feb 1998 04:01:24 +0000 Subject: [PATCH] foo git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4466 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/com_err/compile_et.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/com_err/compile_et.c b/lib/com_err/compile_et.c index f6a9afb12..0390ee9b1 100644 --- a/lib/com_err/compile_et.c +++ b/lib/com_err/compile_et.c @@ -64,13 +64,14 @@ char *filename; char hfn[128]; char cfn[128]; -struct error_code *codes; +struct error_code *codes = NULL; int generate_c(void) { int n; struct error_code *ec; + FILE *c_file = fopen(cfn, "w"); if(c_file == NULL) return 1;