From 6797c8ad4d13b9b4297bf7ff8bd7017b58ed1d85 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Wed, 15 Jan 2020 17:14:04 +0100 Subject: Revert "Update nanoklogd.c" This reverts commit e6b8b91dcd38ebcfbb0d41753d814edf78b06989. stop is never used before being set in the interior loop. --- nanoklogd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nanoklogd.c b/nanoklogd.c index 3fe6216..f4388fe 100644 --- a/nanoklogd.c +++ b/nanoklogd.c @@ -23,8 +23,7 @@ static const struct { int main(int argc, char *argv[]) { char buf[16384]; - int f, l, start; - int stop = 0; + int f, l, start, stop; f = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0); if (f < 0) -- cgit 1.4.1