diff options
author | Paul Mackerras <paulus@samba.org> | 2012-05-20 17:09:16 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2012-05-20 17:09:16 +1000 |
commit | c44ae5e6a7338c96eb463881fe709b2dfaffe568 (patch) | |
tree | 3ae4ce71ee701b299de1806df0a137772d1d6657 /pppd/auth.c | |
parent | 04c4348108d847e034dd91066cc6843f60d71731 (diff) | |
download | ppp-c44ae5e6a7338c96eb463881fe709b2dfaffe568.tar.gz |
pppd: Eliminate some warnings
auth.c: In function ‘start_link’:
auth.c:556:11: warning: variable ‘msg’ set but not used [-Wunused-but-set-variable]
utils.c: In function ‘logit’:
utils.c:655:9: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
sys-linux.c: In function ‘ether_to_eui64’:
sys-linux.c:2881:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'pppd/auth.c')
-rw-r--r-- | pppd/auth.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pppd/auth.c b/pppd/auth.c index 883b7f5..7b269b8 100644 --- a/pppd/auth.c +++ b/pppd/auth.c @@ -553,13 +553,10 @@ link_required(unit) void start_link(unit) int unit; { - char *msg; - new_phase(PHASE_SERIALCONN); hungup = 0; devfd = the_channel->connect(); - msg = "Connect script failed"; if (devfd < 0) goto fail; @@ -572,7 +569,6 @@ void start_link(unit) * gives us. Thus we don't need the tdb_writelock/tdb_writeunlock. */ fd_ppp = the_channel->establish_ppp(devfd); - msg = "ppp establishment failed"; if (fd_ppp < 0) { status = EXIT_FATAL_ERROR; goto disconnect; |