From: chl Date: Sat, 17 May 2014 20:31:07 +0000 (+0000) Subject: remove unused variable X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5a08938ee7a3ebba6da90ac520645b620fad3b4f;p=openbsd remove unused variable ok tedu@ --- diff --git a/usr.sbin/pppd/chap.c b/usr.sbin/pppd/chap.c index 649defbad06..4f53aa70078 100644 --- a/usr.sbin/pppd/chap.c +++ b/usr.sbin/pppd/chap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chap.c,v 1.16 2014/01/21 23:54:50 deraadt Exp $ */ +/* $OpenBSD: chap.c,v 1.17 2014/05/17 20:31:07 chl Exp $ */ /* * chap.c - Challenge Handshake Authentication Protocol. @@ -760,8 +760,6 @@ ChapGenChallenge(cstate) chap_state *cstate; { int chal_len; - u_char *ptr = cstate->challenge; - unsigned int i; /* pick a random challenge length >= MIN_CHALLENGE_LENGTH and <= MAX_CHALLENGE_LENGTH */