aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-14 19:04:20 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-14 21:59:58 +0000
commit00a326a7360e5e172962e65392e85308e847997e (patch)
tree0cdaf0d80b82540fea9e18dc9573f13307c47b9c /toolchain/binutils
parent05dbfe616d551bce1a19d3846c8949c047325624 (diff)
downloadupstream-00a326a7360e5e172962e65392e85308e847997e.tar.gz
upstream-00a326a7360e5e172962e65392e85308e847997e.tar.bz2
upstream-00a326a7360e5e172962e65392e85308e847997e.zip
firmware-utils/ptgen: remove unused variable assignment
Discovered by coverty: CID 1473630: Code maintainability issues (UNUSED_VALUE) Assigning value from "type_to_guid_and_name(type, &name)" to "part_guid" here, but that stored value is overwritten before it can be used. Remove the now redundant assignment of part_guid which is also set conditionally later on. Fixes: 4a078bd135 ("firmware-utils/ptgen: fix partition guid and name") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'toolchain/binutils')
0 files changed, 0 insertions, 0 deletions