From: Matt S Trout Date: Mon, 25 Mar 2019 02:32:01 +0000 (+0000) Subject: remove unused clause X-Git-Tag: v2.000000~3^2~354 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d823973defc7f9ea343932d26b2e93e148056636;p=dbsrgits%2FSQL-Abstract.git remove unused clause --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 4e9eae0..83650f7 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -691,9 +691,6 @@ sub _expand_expr_hashpair { local our $Cur_Col_Meta = $k; return $self->$x($op, $vv, $k); } - if ($op eq 'value' and not defined($vv)) { - return $self->_expand_expr({ $k, undef }) unless defined($vv); - } if ($op =~ /^is(?: not)?$/) { puke "$op can only take undef as argument" if defined($vv)