Skip to content

Commit d5a2c41

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 704e1db commit d5a2c41

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
@@ -176,7 +176,7 @@ sub GenerateFiles
176176

177177
if ($package_version !~ /^(\d+)(?:\.(\d+))?/)
178178
{
179-
confess "Bad format of version: $self->{strver}\n";
179+
confess "Bad format of version: $package_version\n";
180180
}
181181
$majorver = sprintf("%d", $1);
182182
$minorver = sprintf("%d", $2 ? $2 : 0);

0 commit comments

Comments
 (0)