[web-php] master: Fix: Remove unused local variable

From: Date: Tue, 28 Jun 2022 13:02:28 +0000
Subject: [web-php] master: Fix: Remove unused local variable
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-30167@lists.php.net to get a copy of this message
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: cmb69 Date: 2022-06-28T14:56:29+02:00 Commit: https://github.com/php/web-php/commit/9fc38ed6e4f9f276b1b7abf565254a539da4e942 Raw diff: https://github.com/php/web-php/commit/9fc38ed6e4f9f276b1b7abf565254a539da4e942.diff Fix: Remove unused local variable Closes GH-576. Changed paths: M include/gpg-keys.inc Diff: diff --git a/include/gpg-keys.inc b/include/gpg-keys.inc index 297102bee..b6ff5e6f8 100644 --- a/include/gpg-keys.inc +++ b/include/gpg-keys.inc @@ -159,8 +159,6 @@ function gpg_key_get_branches(bool $activeOnly): array { } function gpg_key_show_keys(bool $activeOnly): void { - $branches = gpg_key_get_branches($activeOnly); - foreach (gpg_key_get_branches($activeOnly) as $branch => $rms) { $keys = array_filter( array_map(function($rm) { return gpg_key_get($rm); }, $rms),

« previous php.webmaster (#30167) next »