mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Remove non-existing variable reference in MSVC's Solution.pm
The version string is grabbed from PACKAGE_VERSION in pg_config.h in the MSVC build since 8f4fb4c6, but an error message referenced a variable that existed before that. This had no consequences except if one messes up enough with the version number of the build. Author: Anton Voloshin Discussion: https://postgr.es/m/af79ee1b-9962-b299-98e1-f90a289e19e6@postgrespro.ru Backpatch-through: 13
This commit is contained in:
parent
704e1dbd9a
commit
d5a2c413fc
@ -176,7 +176,7 @@ sub GenerateFiles
|
||||
|
||||
if ($package_version !~ /^(\d+)(?:\.(\d+))?/)
|
||||
{
|
||||
confess "Bad format of version: $self->{strver}\n";
|
||||
confess "Bad format of version: $package_version\n";
|
||||
}
|
||||
$majorver = sprintf("%d", $1);
|
||||
$minorver = sprintf("%d", $2 ? $2 : 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user