Commit 776c0fef authored by simonmar's avatar simonmar
Browse files

[project @ 2004-03-22 11:06:18 by simonmar]

Fix uninitialised ref.

Submitted by: Julian Seward (who else!)
parent cfd7a0d5
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: Linker.c,v 1.145 2004/02/15 13:29:44 krasimir Exp $ * $Id: Linker.c,v 1.146 2004/03/22 11:06:18 simonmar Exp $
* *
* (c) The GHC Team, 2000-2003 * (c) The GHC Team, 2000-2003
* *
...@@ -948,7 +948,7 @@ loadObj( char *path ) ...@@ -948,7 +948,7 @@ loadObj( char *path )
int r, n; int r, n;
#ifdef USE_MMAP #ifdef USE_MMAP
int fd, pagesize; int fd, pagesize;
void *map_addr; void *map_addr = NULL;
#else #else
FILE *f; FILE *f;
#endif #endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment