projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
39221d2
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract/Converter.pm
b/lib/SQL/Abstract/Converter.pm
index
7da6b74
..
2a7d90a
100644
(file)
--- 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}