aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportInitializer.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-02-03 23:01:42 +0100
committerMax <post@wickenrode.com>2015-02-03 23:01:42 +0100
commit19a1c9f81ec1ae6f5518babfb974ad7f01407b16 (patch)
treefc320b5853c8366b2302c47b713b6620cc403b52 /Source/SPExportInitializer.m
parent24fcf917473862ddabc2095447f3ec5c4e9081fd (diff)
downloadsequelpro-19a1c9f81ec1ae6f5518babfb974ad7f01407b16.tar.gz
sequelpro-19a1c9f81ec1ae6f5518babfb974ad7f01407b16.tar.bz2
sequelpro-19a1c9f81ec1ae6f5518babfb974ad7f01407b16.zip
Fix some minor compiler warnings
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r--Source/SPExportInitializer.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m
index 26cdd0dc..7794d1e4 100644
--- a/Source/SPExportInitializer.m
+++ b/Source/SPExportInitializer.m
@@ -168,6 +168,12 @@
case SPDotExport:
exportTypeLabel = @"Dot";
break;
+ case SPPDFExport:
+ case SPHTMLExport:
+ case SPExcelExport:
+ default:
+ [NSException raise:NSInvalidArgumentException format:@"unsupported exportType=%lu",exportType];
+ return;
}
// Begin the export based on the source