Skip to content
Snippets Groups Projects
Commit b0caf11c authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2000-03-21 17:41:02 by simonmar]

What happened to gcc's "uninitialised variable" warnings when I needed
them?
parent 550a9948
No related branches found
No related tags found
No related merge requests found
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
*
* $Id: readFile.c,v 1.12 2000/03/21 11:22:35 simonmar Exp $
* $Id: readFile.c,v 1.13 2000/03/21 17:41:02 simonmar Exp $
*
* hGetContents Runtime Support
*/
......@@ -120,7 +120,7 @@ StgInt
readChunk(StgForeignPtr ptr, StgAddr buf, StgInt off, StgInt len)
{
IOFileObject* fo = (IOFileObject*)ptr;
int count=0,rc=0, total_count;
int count, rc=0, total_count=0;
int fd;
char* p;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment