diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2012-02-26 19:33:38 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvindharboe@gmail.com> | 2012-03-11 21:12:10 +0000 |
commit | 0999bdb830492fe3263c5c3c461bce03f87d3b8e (patch) | |
tree | 675fc35707acd33e32731639ff91895235590ef0 /src/target/target_request.c | |
parent | 27b3d9c434d359757ba5bcb1517517842bf68f83 (diff) |
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>
Diffstat (limited to 'src/target/target_request.c')
-rw-r--r-- | src/target/target_request.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/target/target_request.c b/src/target/target_request.c index c1f987eb..0b9233ad 100644 --- a/src/target/target_request.c +++ b/src/target/target_request.c @@ -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); |