mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +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 */
|
||||
*threadp = NULL;
|
||||
thread_add_read(master, disc_recv_packet, threadp, fd, &*threadp);
|
||||
thread_add_read(master, disc_recv_packet, threadp, fd, threadp);
|
||||
|
||||
/* setup buffer */
|
||||
memset(&m, 0, sizeof(m));
|
||||
|
Loading…
Reference in New Issue
Block a user