Remove pointless else after return
Dagfinn Ilmari Mannsåker [Wed, 4 Dec 2013 14:27:37 +0000 (14:27 +0000)]
lib/SQL/Abstract/Converter.pm

index 7da6b74..2a7d90a 100644 (file)
@@ -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}