Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9b5f85f

Browse files
committed
MSVC: Avoid warning when testing a TAP suite without PROVE_FLAGS.
Commit7be5d8d surfaced the logicerror, which had no functional implications, by adding "use warnings".The buildfarm always customizes PROVE_FLAGS, so the warning did notappear there. Back-patch to 9.5 (all supported versions).
1 parentb5d69b7 commit9b5f85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/tools/msvc/vcregress.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ sub tap_check
198198
unless$config->{tap_tests};
199199

200200
my@flags;
201-
foreachmy$arg (0 ..scalar(@_))
201+
foreachmy$arg (0 ..scalar(@_) - 1)
202202
{
203203
nextunless$_[$arg] =~/^PROVE_FLAGS=(.*)/;
204204
@flags =split(/\s+/,$1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp