diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2006-12-31 18:01:08 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2006-12-31 18:01:08 +0000 |
| commit | db26c259e5ecd9db2b9c914854b12f8ac7d7a558 (patch) | |
| tree | c61e143c8b50588939d355b782990a0c7faea8c2 | |
| parent | 6d937118228bf6eb6fbf963b04b489dc91f82649 (diff) | |
| download | halibut-db26c259e5ecd9db2b9c914854b12f8ac7d7a558.zip halibut-db26c259e5ecd9db2b9c914854b12f8ac7d7a558.tar.gz halibut-db26c259e5ecd9db2b9c914854b12f8ac7d7a558.tar.bz2 halibut-db26c259e5ecd9db2b9c914854b12f8ac7d7a558.tar.xz | |
Fix segfault in info backend when invoked with inputs/test.but
(which triggers err_infonodechar with fpos==NULL).
[originally from svn r7044]
| -rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ static void do_error(int code, va_list ap) { char *sp, *sp2; wchar_t *wsp, *wsp2; filepos fpos, fpos2, *fposp; - int flags; + int flags = 0; switch(code) { case err_nomemory: /* no arguments */ |