diff options
author | Max <post@wickenrode.com> | 2015-02-03 23:01:42 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-02-03 23:01:42 +0100 |
commit | 19a1c9f81ec1ae6f5518babfb974ad7f01407b16 (patch) | |
tree | fc320b5853c8366b2302c47b713b6620cc403b52 /Source/SPExportFilenameUtilities.m | |
parent | 24fcf917473862ddabc2095447f3ec5c4e9081fd (diff) | |
download | sequelpro-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.m | 6 |
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) { |