]> git.gag.com Git - fw/openocd/commit
target/lakemont: fix dead assignment
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 22 Sep 2021 17:14:29 +0000 (19:14 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Mon, 25 Oct 2021 16:10:04 +0000 (16:10 +0000)
commit327040ad745300c6c2117b81c584ff868567ef83
tree9e76d49d9473ee12fa0c27b68506a8ed92f74500
parent01de751025cfaebb7c1090f1d1ff00071ce39c71
target/lakemont: fix dead assignment

Clang scan-build complains for a dead assignment:
Value stored to 'tapstatus' is never read

Remove the assignment and add a comment to point for a potential
removal of the line.

Change-Id: Iad2fdc7e6faf650e24cc086ee74c745acb0d1c73
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6591
Tested-by: jenkins
src/target/lakemont.c