diff options
author | phython <phython@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-27 19:10:10 +0000 |
---|---|---|
committer | phython <phython@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-27 19:10:10 +0000 |
commit | 4502ba69b26e9de024eacf2bb1a66db5cdd2a36b (patch) | |
tree | bb3370cee86da9dcabcf0af8f5f0cc89987025de /gcc/fixinc | |
parent | fa14cf36e90def525e4570ae8d384849fe50a477 (diff) | |
download | gcc-4502ba69b26e9de024eacf2bb1a66db5cdd2a36b.tar.gz |
2004-01-24 James A. Morrison <ja2morri@uwaterloo.ca>
* fixinc/fixinc.c (test_test): Initialize res.
(start_flexer): Initialize pz_cmd_save.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76738 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/fixincl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fixinc/fixincl.c b/gcc/fixinc/fixincl.c index 5b92c3ce097..690184b8ad7 100644 --- a/gcc/fixinc/fixincl.c +++ b/gcc/fixinc/fixincl.c @@ -647,6 +647,7 @@ fi"; default: fprintf (stderr, "Script yielded bogus result of `%s':\n%s\n\n", pz_res, cmd_buf ); + res = SKIP_FIX; } free ((void *) pz_res); @@ -1027,7 +1028,10 @@ start_fixer (int read_fd, tFixDesc* p_fixd, char* pz_fix_file) return internal_fix (read_fd, p_fixd); if ((p_fixd->fd_flags & FD_SHELL_SCRIPT) == 0) - pz_cmd = (char*)NULL; + { + pz_cmd = NULL; + pz_cmd_save = NULL; + } else { tSCC z_cmd_fmt[] = "file='%s'\n%s"; |