diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-06-26 13:52:54 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-06-26 13:52:54 +0900 |
commit | 88274a7a314eb521b1ee924f2872872fce289fdf (patch) | |
tree | 77bd0f73f76dba2e05290ad803fec5a34517c4ba /src | |
parent | 0455b7ccce3cba6a85a85aa6524c48d58eb1c93e (diff) | |
download | postgresql-88274a7a314eb521b1ee924f2872872fce289fdf.tar.gz postgresql-88274a7a314eb521b1ee924f2872872fce289fdf.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/msvc/Solution.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 7f533b5ccf5..e3e931e7c11 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -171,7 +171,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); |