mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-04-14 07:39:14 +00:00
fix unused variable warnings.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mopprobe.c,v 1.11 2011/08/30 19:49:11 joerg Exp $ */
|
||||
/* $NetBSD: mopprobe.c,v 1.12 2013/10/19 17:16:37 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: mopprobe.c,v 1.11 2011/08/30 19:49:11 joerg Exp $");
|
||||
__RCSID("$NetBSD: mopprobe.c,v 1.12 2013/10/19 17:16:37 christos Exp $");
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -128,7 +128,7 @@ void
|
||||
mopProcess(struct if_info *ii, u_char *pkt)
|
||||
{
|
||||
u_char *dst, *src, *p, mopcode, tmpc, ilen;
|
||||
u_short *ptype, moplen, tmps, itype, len;
|
||||
u_short *ptype, moplen, itype, len;
|
||||
int idx, i, device, trans;
|
||||
|
||||
dst = pkt;
|
||||
@@ -177,7 +177,7 @@ mopProcess(struct if_info *ii, u_char *pkt)
|
||||
}
|
||||
|
||||
tmpc = mopGetChar(pkt,&idx); /* Reserved */
|
||||
tmps = mopGetShort(pkt,&idx); /* Receipt # */
|
||||
(void)mopGetShort(pkt,&idx); /* Receipt # */
|
||||
|
||||
device = 0; /* Unknown Device */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user