Skip to content

Commit 88274a7

Browse files
committed
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 8f4fb4c, 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
1 parent 0455b7c commit 88274a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/msvc/Solution.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ sub GenerateFiles
171171

172172
if ($package_version !~ /^(\d+)(?:\.(\d+))?/)
173173
{
174-
confess "Bad format of version: $self->{strver}\n";
174+
confess "Bad format of version: $package_version\n";
175175
}
176176
$majorver = sprintf("%d", $1);
177177
$minorver = sprintf("%d", $2 ? $2 : 0);

0 commit comments

Comments
 (0)