Merge pull request #1743 from rubenk/apcups-coverity
[collectd.git] / src / pf.c
index a2bd549..225d536 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
@@ -106,7 +106,6 @@ static int pf_read (void)
        }
 
        close (fd);
-       fd = -1;
 
        if (!state.running)
        {