summaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-12-11 13:52:59 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-11 13:53:23 +0100
commit3e927991711b134feb000e772b97a995e09e5827 (patch)
treefcfdda8a1df7e233ac6f6bfe0b9b06fcca5113c5 /tests/runtests.pl
parente12825c642a88774e19ba0ef7c88f676793a1e5b (diff)
downloadcurl-3e927991711b134feb000e772b97a995e09e5827.tar.gz
runtests.pl: fix "uninitialized value" warning
follow-up to e12825c642a88774
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 24e65e7cd..92ff1f61d 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -3593,7 +3593,7 @@ sub singletest {
$cond = $1;
$rev = 1;
}
- $rev ^= $feature{$cond};
+ $rev ^= $feature{$cond} ? 1 : 0;
$show = $rev;
next;
}