From c2d95ffaeaa289752b4c7b6664b6ca112a02e350 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 2 Nov 2023 19:08:58 +0100 Subject: Roundup of issues reported by PHPStorm Mostly redundant checks, logic errors, dead code, etc. --- tools/convert-modules.php | 1 - 1 file changed, 1 deletion(-) (limited to 'tools/convert-modules.php') diff --git a/tools/convert-modules.php b/tools/convert-modules.php index f8c7a1a5..aa43d951 100644 --- a/tools/convert-modules.php +++ b/tools/convert-modules.php @@ -181,7 +181,6 @@ echo "Processing\n"; foreach ($messages as $id => $modules) { asort($modules, SORT_NUMERIC); $modules = array_reverse($modules, true); - reset($modules); $topModule = key($modules); $topCount = $modules[$topModule]; $sum = 0; -- cgit v1.2.3-55-g7522