Browse Source

target_request: fix warning, do not set local variable to value it already has

Change-Id: If29b0efdc326ee1ce4c07ec9d8777744d674f367
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/490
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
tags/v0.6.0-rc1
Øyvind Harboe 12 years ago
committed by Øyvind Harboe
parent
commit
0999bdb830
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      src/target/target_request.c

+ 0
- 1
src/target/target_request.c View File

@@ -164,7 +164,6 @@ static int add_debug_msg_receiver(struct command_context *cmd_ctx, struct target
/* see if there's already a list */
if (*p) {
/* find end of linked list */
p = &target->dbgmsg;
while ((*p)->next)
p = &((*p)->next);
p = &((*p)->next);


Loading…
Cancel
Save