From: Daniel Stenberg Date: Fri, 11 Dec 2020 12:52:59 +0000 (+0100) Subject: runtests.pl: fix "uninitialized value" warning X-Git-Tag: curl-7_75_0~259 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e927991711b134feb000e772b97a995e09e5827;p=thirdparty%2Fcurl.git runtests.pl: fix "uninitialized value" warning follow-up to e12825c642a88774 --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 24e65e7cd3..92ff1f61d8 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; }