aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFileHandle.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPFileHandle.m')
-rw-r--r--Source/SPFileHandle.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPFileHandle.m b/Source/SPFileHandle.m
index 94c26211..41c15b09 100644
--- a/Source/SPFileHandle.m
+++ b/Source/SPFileHandle.m
@@ -210,7 +210,7 @@
*/
- (NSMutableData *)readDataOfLength:(NSUInteger)length
{
- long theDataLength;
+ long theDataLength = 0;
void *theData = malloc(length);
if (useCompression) {