Avoid shadowing function parameter
commitac646f47a263a8bfa40dd4a62b5508da758cdd62
authorChocobo1 <Chocobo1@users.noreply.github.com>
Sat, 12 Oct 2024 07:04:47 +0000 (12 15:04 +0800)
committerGitHub <noreply@github.com>
Sat, 12 Oct 2024 07:04:47 +0000 (12 15:04 +0800)
treefa004a9af3337310bc7373de000d1c2b1035d32e
parentc4eeb4a14a19cfcdf54aac9eb07f02080666aef1
Avoid shadowing function parameter

The function already has a parameter named `result`.
Also remove a duplicate variable since it already has a pref pointer at the start of the function.

PR #21571.
src/base/bittorrent/bencoderesumedatastorage.cpp
src/base/net/geoipmanager.cpp