From 0999bdb830492fe3263c5c3c461bce03f87d3b8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Sun, 26 Feb 2012 19:33:38 +0100 Subject: [PATCH] target_request: fix warning, do not set local variable to value it already has MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: If29b0efdc326ee1ce4c07ec9d8777744d674f367 Signed-off-by: Øyvind Harboe Reviewed-on: http://openocd.zylin.com/490 Tested-by: jenkins Reviewed-by: Øyvind Harboe --- src/target/target_request.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.39.5