summaryrefslogtreecommitdiffstats
path: root/lib/frr_pthread.c
diff options
context:
space:
mode:
authorpaco <paco@voltanet.io>2018-06-19 10:17:03 +0200
committerpaco <paco@voltanet.io>2018-06-19 10:19:05 +0200
commit5f18adf01baeef33c6c85e3691822ee61424f238 (patch)
tree6981816997dd395e689366dcc0a031962c541622 /lib/frr_pthread.c
parentMerge pull request #2476 from pacovn/Coverity_1433544_Explicit_null_dereferenced (diff)
downloadfrr-5f18adf01baeef33c6c85e3691822ee61424f238.tar.xz
frr-5f18adf01baeef33c6c85e3691822ee61424f238.zip
eigrpd, isisd, lib, ospfd: no effect (cppcheck)
Assignment of function parameter has no effect outside the function. Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'lib/frr_pthread.c')
-rw-r--r--lib/frr_pthread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/frr_pthread.c b/lib/frr_pthread.c
index 36a89168c..00681b9db 100644
--- a/lib/frr_pthread.c
+++ b/lib/frr_pthread.c
@@ -269,7 +269,6 @@ static int fpt_halt(struct frr_pthread *fpt, void **res)
{
thread_add_event(fpt->master, &fpt_finish, fpt, 0, NULL);
pthread_join(fpt->thread, res);
- fpt = NULL;
return 0;
}