aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportFilenameUtilities.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/SPExportFilenameUtilities.m
parent24fcf917473862ddabc2095447f3ec5c4e9081fd (diff)
downloadsequelpro-19a1c9f81ec1ae6f5518babfb974ad7f01407b16.tar.gz
sequelpro-19a1c9f81ec1ae6f5518babfb974ad7f01407b16.tar.bz2
sequelpro-19a1c9f81ec1ae6f5518babfb974ad7f01407b16.zip
Fix some minor compiler warnings
Diffstat (limited to 'Source/SPExportFilenameUtilities.m')
-rw-r--r--Source/SPExportFilenameUtilities.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPExportFilenameUtilities.m b/Source/SPExportFilenameUtilities.m
index b0070f31..df9d3a69 100644
--- a/Source/SPExportFilenameUtilities.m
+++ b/Source/SPExportFilenameUtilities.m
@@ -298,6 +298,12 @@
case SPDotExport:
extension = @"dot";
break;
+ case SPPDFExport:
+ case SPHTMLExport:
+ case SPExcelExport:
+ default:
+ [NSException raise:NSInvalidArgumentException format:@"unsupported exportType=%lu",exportType];
+ return nil;
}
if ([exportOutputCompressionFormatPopupButton indexOfSelectedItem] != SPNoCompression) {