Kaydet (Commit) 7f401ef7 authored tarafından Thomas Wouters's avatar Thomas Wouters

Fix gcc (4.0.x) warning about use of uninitialized variables.

(PyMarshal_ReadShortFromFile() is only used in zipimport.c, I don't believe
the extra initializations will matter one way or another.)
üst f86d1e81
......@@ -885,8 +885,9 @@ int
PyMarshal_ReadShortFromFile(FILE *fp)
{
RFILE rf;
assert(fp);
rf.fp = fp;
rf.strings = NULL;
rf.strings = rf.end = rf.ptr = NULL;
return r_short(&rf);
}
......
Markdown is supported
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