aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFileHandle.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-06-26 09:07:36 +0000
committerstuconnolly <stuart02@gmail.com>2012-06-26 09:07:36 +0000
commit8a011ccb6ea326255f4f85312e5ba4ff206c2e2e (patch)
tree0ce883a10089d2e89745ab193ba0451ee001f58f /Source/SPFileHandle.m
parent0770ecf46cb1072e3327598fe8aa850cdd818302 (diff)
downloadsequelpro-8a011ccb6ea326255f4f85312e5ba4ff206c2e2e.tar.gz
sequelpro-8a011ccb6ea326255f4f85312e5ba4ff206c2e2e.tar.bz2
sequelpro-8a011ccb6ea326255f4f85312e5ba4ff206c2e2e.zip
Silence static analyzer warnings.
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) {