summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db4a13b)
raw | patch | inline | side by side (parent: db4a13b)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 27 Apr 2016 12:56:42 +0000 (14:56 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 27 Apr 2016 12:56:42 +0000 (14:56 +0200) |
Found by scan-build:
pf.c:109:2: warning: Value stored to 'fd' is never read
fd = -1;
^ ~~
pf.c:109:2: warning: Value stored to 'fd' is never read
fd = -1;
^ ~~
src/pf.c | patch | blob | history |
diff --git a/src/pf.c b/src/pf.c
index a2bd5499916d735a3ec8143e93c8d79caa3485cf..225d536ebeddcf3f0b969ae251fb2ba8aacb681c 100644 (file)
--- a/src/pf.c
+++ b/src/pf.c
}
close (fd);
- fd = -1;
if (!state.running)
{