aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-30 12:26:38 +0000
committerRoy Marples <roy@marples.name>2008-04-30 12:26:38 +0000
commita818eebf7b1064ed2c42eb37c23ecd73ee39d327 (patch)
tree4fc63ccdb27b1e9021a1eb99ff39008871cd9b42
parent10910876d1a9e53bae464864b735e99642cbc26e (diff)
No need to init this.
-rw-r--r--src/librc/librc-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c
index f8134b59..e1f32211 100644
--- a/src/librc/librc-daemon.c
+++ b/src/librc/librc-daemon.c
@@ -84,7 +84,7 @@ static bool pid_is_exec(pid_t pid, const char *const *argv)
char cmdline[32];
char buffer[PATH_MAX];
char *p;
- int fd = -1;
+ int fd;
int r;
/* Check it's the right binary */