From 8c5f8d1cac0eb665ced8b334d712a7443f5c7d55 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Wed, 27 Apr 2016 14:56:42 +0200 Subject: [PATCH] pf plugin: value stored in fd is never read Found by scan-build: pf.c:109:2: warning: Value stored to 'fd' is never read fd = -1; ^ ~~ --- src/pf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pf.c b/src/pf.c index a2bd5499..225d536e 100644 --- a/src/pf.c +++ b/src/pf.c @@ -106,7 +106,6 @@ static int pf_read (void) } close (fd); - fd = -1; if (!state.running) { -- 2.30.2