aboutsummaryrefslogtreecommitdiffstats
path: root/Source/GeneratePreviewForURL.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-03-03 19:03:52 +0000
committerstuconnolly <stuart02@gmail.com>2011-03-03 19:03:52 +0000
commit6f983024a66ddb594eac5e4e808a8c3c51f6b6ff (patch)
tree76122fc0c2b753feb1eaf3d18a4ef3b04519dd6b /Source/GeneratePreviewForURL.m
parent6fdc5d75e246d205ea97d65e7ddd8305df5003d8 (diff)
downloadsequelpro-6f983024a66ddb594eac5e4e808a8c3c51f6b6ff.tar.gz
sequelpro-6f983024a66ddb594eac5e4e808a8c3c51f6b6ff.tar.bz2
sequelpro-6f983024a66ddb594eac5e4e808a8c3c51f6b6ff.zip
Fix more compiler warnings.
Diffstat (limited to 'Source/GeneratePreviewForURL.m')
-rw-r--r--Source/GeneratePreviewForURL.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/GeneratePreviewForURL.m b/Source/GeneratePreviewForURL.m
index 3bc5de43..91bd65e6 100644
--- a/Source/GeneratePreviewForURL.m
+++ b/Source/GeneratePreviewForURL.m
@@ -256,7 +256,7 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview,
}
// Get info.plist data as dictionary
NSDictionary *sessionSpf;
- NSData *pData = [NSData dataWithContentsOfFile:spfPath options:NSUncachedRead error:&readError];
+ pData = [NSData dataWithContentsOfFile:spfPath options:NSUncachedRead error:&readError];
sessionSpf = [[NSPropertyListSerialization propertyListFromData:pData
mutabilityOption:NSPropertyListImmutable format:&format errorDescription:&convError] retain];