aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportFileUtilities.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPExportFileUtilities.m')
-rw-r--r--Source/SPExportFileUtilities.m8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/SPExportFileUtilities.m b/Source/SPExportFileUtilities.m
index 4cb39455..76650556 100644
--- a/Source/SPExportFileUtilities.m
+++ b/Source/SPExportFileUtilities.m
@@ -106,15 +106,13 @@
NSUInteger i = 0;
for (SPExportFile *file in files)
- {
- SPExportFileHandleStatus status = [file exportFileHandleStatus];
-
- if (status == SPExportFileHandleExists) {
+ {
+ if ([file exportFileHandleStatus] == SPExportFileHandleExists) {
i++;
}
// For file handles that we failed to create for some unknown reason, ignore them and remove any
// exporters that are associated with them.
- else if (status == SPExportFileHandleFailed) {
+ else if ([file exportFileHandleStatus] == SPExportFileHandleFailed) {
for (SPExporter *exporter in exporters)
{