From: Dagfinn Ilmari Mannsåker Date: Wed, 4 Dec 2013 14:27:37 +0000 (+0000) Subject: Remove pointless else after return X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fc4b3e6dabd78ef83c9e8300622dc6db316356a8;p=dbsrgits%2FSQL-Abstract.git Remove pointless else after return --- diff --git a/lib/SQL/Abstract/Converter.pm b/lib/SQL/Abstract/Converter.pm index 7da6b74..2a7d90a 100644 --- a/lib/SQL/Abstract/Converter.pm +++ b/lib/SQL/Abstract/Converter.pm @@ -515,11 +515,8 @@ sub _where_hashpair_to_dq { { $k => { $inop => \@defined } }, { $k => $nullop }, ], $logic); - } else { - return $self->_expr_to_dq_HASHREF({ - $k => $nullop, - }); } + return $self->_expr_to_dq_HASHREF({ $k => $nullop }); } return $self->_literal_to_dq( $op =~ /^NOT/ ? $self->{sqltrue} : $self->{sqlfalse}