summaryrefslogtreecommitdiffstats
path: root/usr.sbin/authpf
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2009-01-10 17:17:32 +0000
committertodd <todd@openbsd.org>2009-01-10 17:17:32 +0000
commite67ff5042c750d98863f77014b8b1a393364f913 (patch)
treef77e86cfac8cf313905bf0b2cac83babf4957be3 /usr.sbin/authpf
parentSplit off LDC support code into its own file. (diff)
downloadwireguard-openbsd-e67ff5042c750d98863f77014b8b1a393364f913.tar.xz
wireguard-openbsd-e67ff5042c750d98863f77014b8b1a393364f913.zip
variable declaration before use, found by vax, no cookie
Diffstat (limited to 'usr.sbin/authpf')
-rw-r--r--usr.sbin/authpf/authpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index e95505ab70f..45f36acf733 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.110 2009/01/06 03:11:50 mcbride Exp $ */
+/* $OpenBSD: authpf.c,v 1.111 2009/01/10 17:17:32 todd Exp $ */
/*
* Copyright (C) 1998 - 2007 Bob Beck (beck@openbsd.org).
@@ -481,9 +481,9 @@ allowed_luser(struct passwd *pw)
* "public" gateway, such as it is, so let
* everyone use it.
*/
- lbuf = NULL;
int gl_init = 0, ngroups = NGROUPS + 1;
gid_t groups[NGROUPS + 1];
+ lbuf = NULL;
while ((buf = fgetln(f, &len))) {