From cf5ded9cc51745ccc134776bfcf43f9471d76eae Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sat, 2 Nov 2024 11:39:40 +0100 Subject: [PATCH] run-tests: removed unused code (#16675) --- run-tests.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/run-tests.php b/run-tests.php index 1f0126ab0bc..7ab158bce5c 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2866,19 +2866,6 @@ function expectf_to_regex(?string $wanted): string '%0' => '\x00', ]); } - -/** - * @return bool|int - */ -function comp_line(string $l1, string $l2, bool $is_reg) -{ - if ($is_reg) { - return preg_match('/^' . $l1 . '$/s', $l2); - } - - return !strcmp($l1, $l2); -} - /** * Map "Zend OPcache" to "opcache" and convert all ext names to lowercase. */