Skip to content

Commit

Permalink
Silence 'Missing argument in sprintf' warning on perl 5.22
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmari committed May 28, 2015
1 parent 813cdf6 commit 05a719b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/DBD/Firebird/GetInfo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ my $sql_ver_fmt = '%02d.%02d.%04d'; # ODBC version string: ##.##.#####
my $sql_driver_ver;
{
no warnings 'uninitialized';
no if $] >= 5.022, warnings => 'missing';
$sql_driver_ver = sprintf $sql_ver_fmt, split (/\./, $DBD::Firebird::VERSION);
}

Expand Down

0 comments on commit 05a719b

Please sign in to comment.