mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-25 21:37:29 +00:00
bgpd: data is set but never used
I've kept the assignment in a comment because I am concerned about new code being added later that the data pointer would not be set correctly. Next coder can see the commented out line and uncomment it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
84877e60db
commit
3f03ec1021
@ -3349,7 +3349,7 @@ static void bgp_dynamic_capability_fqdn(uint8_t *pnt, int action,
|
||||
memcpy(&str, data, len);
|
||||
str[len] = '\0';
|
||||
}
|
||||
data += len;
|
||||
/* data += len; In case new code is ever added */
|
||||
|
||||
if (len) {
|
||||
XFREE(MTYPE_BGP_PEER_HOST, peer->domainname);
|
||||
|
Loading…
Reference in New Issue
Block a user