From 7286ac24e5686bfc5c001d3a680f9e347c48b951 Mon Sep 17 00:00:00 2001 From: zrj Date: Tue, 11 Oct 2016 17:19:39 +0300 Subject: [PATCH] wall(1): Avoid gcc warning. --- usr.bin/wall/wall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 1d380217e2..7729505511 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) { struct iovec iov; - struct utmpentry *ep; + struct utmpentry *ep = NULL; /* avoid gcc warnings */ int ch; int ingroup; struct wallgroup *g; -- 2.11.4.GIT