summaryrefslogtreecommitdiff
path: root/usr.sbin/authpf
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2009-01-10 17:17:33 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2009-01-10 17:17:33 +0000
commit29a234364c594c1a96a73c98170375bf33943f83 (patch)
treed3d4d97299b6304359af8cdb1afb454df8141eb1 /usr.sbin/authpf
parent0e5bbf1c89b6aa45c43bdacb2f9c3ccb5b1ad4c7 (diff)
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))) {