summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2006-06-23 01:42:03 +0000
committerbrian <brian@FreeBSD.org>2006-06-23 01:42:03 +0000
commitb33fcf884064a27e6a0a9d8b7caa2d4b920de35e (patch)
tree9f4f9e554fce5095d1fb866ad98e09ff0b9e8678 /lib
parent798a5b356c9d7f2bbaa5a80284de7f20a81175d6 (diff)
downloadFreeBSD-src-b33fcf884064a27e6a0a9d8b7caa2d4b920de35e.zip
FreeBSD-src-b33fcf884064a27e6a0a9d8b7caa2d4b920de35e.tar.gz
Remove some unused variables
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/pidfile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libutil/pidfile.c b/lib/libutil/pidfile.c
index cf7441e..fc15163 100644
--- a/lib/libutil/pidfile.c
+++ b/lib/libutil/pidfile.c
@@ -46,7 +46,6 @@ static int
pidfile_verify(struct pidfh *pfh)
{
struct stat sb;
- int fd;
if (pfh == NULL || pfh->pf_fd == -1)
return (EDOOFUS);
@@ -147,7 +146,6 @@ pidfile_open(const char *path, mode_t mode, pid_t *pidptr)
int
pidfile_write(struct pidfh *pfh)
{
- struct stat sb;
char pidstr[16];
int error, fd;
OpenPOWER on IntegriCloud