From 5f18adf01baeef33c6c85e3691822ee61424f238 Mon Sep 17 00:00:00 2001 From: paco Date: Tue, 19 Jun 2018 10:17:03 +0200 Subject: eigrpd, isisd, lib, ospfd: no effect (cppcheck) Assignment of function parameter has no effect outside the function. Signed-off-by: F. Aragon --- lib/frr_pthread.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/frr_pthread.c') diff --git a/lib/frr_pthread.c b/lib/frr_pthread.c index 36a89168c2..00681b9db8 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; } -- cgit v1.2.3