From: Rafael Kitover Date: Tue, 1 Jun 2010 17:44:13 +0000 (+0000) Subject: remove unnecessary bit of code X-Git-Tag: v0.11008~50 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e0d181055567a710d686e6725e416ac94f5598b8;p=dbsrgits%2FSQL-Translator.git remove unnecessary bit of code --- diff --git a/lib/SQL/Translator/Utils.pm b/lib/SQL/Translator/Utils.pm index 6930506..3d5e572 100644 --- a/lib/SQL/Translator/Utils.pm +++ b/lib/SQL/Translator/Utils.pm @@ -251,7 +251,7 @@ sub parse_dbms_version { return sprintf ('%d.%03d%03d', map { $_ || 0 } (@vers) ); } elsif ($target eq 'native') { - return join '.' => map 0+$_, grep defined, @vers; + return join '.' => grep defined, @vers; } else { #how do I croak sanely here?