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), -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php