X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Ftarget_request.c;h=0b9233ad245abf4788ec517dfcb7232d030718d1;hb=9a8aa4ec63ff2d869d0ddf29b73afd5524bc77de;hp=c1f987eb7bcb2d4279b9507133a97bd4d9d392bd;hpb=374127301ec1d72033b9d573b72c7abdfd61990d;p=fw%2Fopenocd diff --git a/src/target/target_request.c b/src/target/target_request.c index c1f987eb7..0b9233ad2 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);