aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-08 02:28:15 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-08 02:28:15 +0000
commit77c2523ef1f511b878ba21812f7cb8ad55d82eb9 (patch)
treebd51a1b3e519deea2c636a18ad42a8d4ba7f1ddf
parent0a2c0e5a306601a097d7f0b444fe14cac2fc598c (diff)
downloadsequelpro-77c2523ef1f511b878ba21812f7cb8ad55d82eb9.tar.gz
sequelpro-77c2523ef1f511b878ba21812f7cb8ad55d82eb9.tar.bz2
sequelpro-77c2523ef1f511b878ba21812f7cb8ad55d82eb9.zip
Get rid of branch that is never hit.
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m5
1 files changed, 0 insertions, 5 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m
index 29fcfea6..c8207dd9 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m
@@ -223,11 +223,6 @@ FLXQueryParamData;
(const int *)paramData->paramLengths,
(const int *)paramData->paramFormats,
FLXPostgresResultsAsBinary);
- }
- else {
- // TODO: get rid of exceptions
- [FLXPostgresException raise:FLXPostgresConnectionErrorDomain reason:[NSString stringWithFormat:@"Trying to execute a query that is not of type NSString or FLXPostgresStatement"]];
- return nil;
}
[self _destroyParamDataStructure:paramData];