From 77c2523ef1f511b878ba21812f7cb8ad55d82eb9 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 8 Sep 2012 02:28:15 +0000 Subject: Get rid of branch that is never hit. --- Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryExecution.m | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Frameworks/PostgresKit') 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]; -- cgit v1.2.3