aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2018-05-30 06:00:14 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2018-05-30 06:00:14 -0700
commit2ec501a8b3718d2e1f487ee3b93e2413233c33ea (patch)
tree7f24d426cb36ffb4978b62a0c535d2366fb240c5
parent1b227f1f49b1a8f53d8577a547368207f898c026 (diff)
downloadriscv-openocd-2ec501a8b3718d2e1f487ee3b93e2413233c33ea.zip
riscv-openocd-2ec501a8b3718d2e1f487ee3b93e2413233c33ea.tar.gz
riscv-openocd-2ec501a8b3718d2e1f487ee3b93e2413233c33ea.tar.bz2
Revert "double result"
This reverts commit 1b227f1f49b1a8f53d8577a547368207f898c026.
-rw-r--r--src/target/riscv/riscv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c
index 35e1967..a6ebd51 100644
--- a/src/target/riscv/riscv.c
+++ b/src/target/riscv/riscv.c
@@ -692,7 +692,7 @@ static int riscv_examine(struct target *target)
if (result != ERROR_OK)
return result;
- result = tt->examine(target);
+ int result = tt->examine(target);
if (result != ERROR_OK)
return result;