]> Git Repo - J-u-boot.git/commit
cmd: bcb: Fix duplicated handling in two case-branches
authorEugeniu Rosca <[email protected]>
Fri, 19 Jul 2019 21:26:12 +0000 (23:26 +0200)
committerTom Rini <[email protected]>
Wed, 24 Jul 2019 17:16:29 +0000 (13:16 -0400)
commite47b73b821f7f6078c0d11b453545507e25727cc
treea93bb469cb90304add9bd7d00635b00416beb98f
parentcef4de88359ddc37954046a758c0152dda53069b
cmd: bcb: Fix duplicated handling in two case-branches

Fix warning V1037 reported by PVS-Studio Static Analyzer:
Two or more case-branches perform the same actions. Check lines: 49, 53

Fixes: db7b7a05b267 ("cmd: Add 'bcb' command to read/modify/write BCB fields")
Signed-off-by: Eugeniu Rosca <[email protected]>
Reviewed-by: Igor Opaniuk <[email protected]>
Reviewed-by: Sam Protsenko <[email protected]>
cmd/bcb.c
This page took 0.034528 seconds and 4 git commands to generate.