mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-29 20:10:12 +00:00
Merge pull request #2489 from pacovn/cppcheck_reduntant_pointer_op
ldpd: redundant pointer operation (cppcheck)
This commit is contained in:
commit
2daa80f0c0
@ -144,7 +144,7 @@ disc_recv_packet(struct thread *thread)
|
|||||||
|
|
||||||
/* reschedule read */
|
/* reschedule read */
|
||||||
*threadp = NULL;
|
*threadp = NULL;
|
||||||
thread_add_read(master, disc_recv_packet, threadp, fd, &*threadp);
|
thread_add_read(master, disc_recv_packet, threadp, fd, threadp);
|
||||||
|
|
||||||
/* setup buffer */
|
/* setup buffer */
|
||||||
memset(&m, 0, sizeof(m));
|
memset(&m, 0, sizeof(m));
|
||||||
|
Loading…
Reference in New Issue
Block a user