mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
Nuke unused variables.
This commit is contained in:
parent
8194b338dc
commit
7309915e7a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78737
@ -67,7 +67,7 @@ main(argc, argv)
|
||||
int i;
|
||||
struct name *to, *cc, *bcc, *smopts;
|
||||
char *subject, *replyto;
|
||||
char *ef, *cp;
|
||||
char *ef;
|
||||
char nosrc = 0;
|
||||
sig_t prevint;
|
||||
|
||||
|
@ -93,7 +93,6 @@ main(argc, argv)
|
||||
char ibuf[BUFSIZ];
|
||||
fd_set rfd;
|
||||
int flushtime = 30;
|
||||
int lastc = 1000;
|
||||
|
||||
aflg = kflg = 0;
|
||||
while ((ch = getopt(argc, argv, "aqkt:")) != -1)
|
||||
|
@ -78,7 +78,7 @@ main(argc, argv)
|
||||
struct winsize win;
|
||||
#endif
|
||||
int ch, noinit, noset, quiet, Sflag, sflag, showterm, usingupper;
|
||||
char *p, *t, *tcapbuf, *ttype;
|
||||
char *p, *tcapbuf, *ttype;
|
||||
|
||||
if (tcgetattr(STDERR_FILENO, &mode) < 0)
|
||||
err(1, "standard error");
|
||||
|
@ -564,7 +564,6 @@ phys_status(force)
|
||||
{
|
||||
char psrcaddr[256];
|
||||
char pdstaddr[256];
|
||||
char hostname[NI_MAXHOST];
|
||||
int flags = NI_NUMERICHOST;
|
||||
char *af;
|
||||
#ifndef SIOCGLIFPHYADDR
|
||||
|
@ -116,7 +116,6 @@ int main()
|
||||
{
|
||||
char buf[_POSIX2_LINE_MAX], ifname[IFNAMSIZ];
|
||||
struct ifnet *ifp, *nifp, ifnet;
|
||||
struct arpcom arpcom;
|
||||
|
||||
if ((kvmd = kvm_openfiles(NULL, NULL, NULL, O_RDONLY, buf)) == NULL) {
|
||||
perror("kvm_openfiles");
|
||||
@ -179,7 +178,6 @@ if6_addrlist(ifap)
|
||||
struct ifaddr ifa;
|
||||
struct sockaddr sa;
|
||||
struct in6_ifaddr if6a;
|
||||
struct in6_multi *mc = 0;
|
||||
struct ifaddr *ifap0;
|
||||
|
||||
ifap0 = ifap;
|
||||
@ -198,10 +196,7 @@ if6_addrlist(ifap)
|
||||
if (ifap0) {
|
||||
struct ifnet ifnet;
|
||||
struct ifmultiaddr ifm, *ifmp = 0;
|
||||
struct sockaddr_in6 sin6;
|
||||
struct in6_multi in6m;
|
||||
struct sockaddr_dl sdl;
|
||||
int in6_multilist_done = 0;
|
||||
|
||||
KREAD(ifap0, &ifa, struct ifaddr);
|
||||
KREAD(ifa.ifa_ifp, &ifnet, struct ifnet);
|
||||
|
@ -55,7 +55,7 @@ int
|
||||
main()
|
||||
{
|
||||
int i,j;
|
||||
u_long l1,l2,l3,l4;
|
||||
u_long l1,l2,l4;
|
||||
struct bb bb;
|
||||
char buf[128];
|
||||
|
||||
|
@ -182,11 +182,7 @@ void load_des(warn, libpath)
|
||||
int warn;
|
||||
char *libpath;
|
||||
{
|
||||
DIR *dird;
|
||||
struct dirent *dirp;
|
||||
char dlpath[MAXPATHLEN];
|
||||
int minor = -1;
|
||||
int len;
|
||||
|
||||
if (libpath == NULL) {
|
||||
#ifdef OBJFORMAT_ELF
|
||||
|
@ -113,8 +113,6 @@ main(argc, argv)
|
||||
{
|
||||
int nflag = 0;
|
||||
int c;
|
||||
register SVCXPRT *transp;
|
||||
int sock = RPC_ANYSOCK;
|
||||
int warn = 0;
|
||||
char *path = NULL;
|
||||
|
||||
|
@ -150,7 +150,6 @@ listfunc(int memfd, int argc, char *argv[])
|
||||
{
|
||||
struct mem_range_desc *mrd;
|
||||
int nd, i, j;
|
||||
int error;
|
||||
int ch;
|
||||
int showall = 0;
|
||||
char *owner;
|
||||
|
@ -2785,9 +2785,8 @@ kidspad(u_char rxc, mousestatus_t *act)
|
||||
static int buflen = 0, b_prev = 0 , x_prev = -1, y_prev = -1 ;
|
||||
static k_status status = S_IDLE ;
|
||||
static struct timeval old, now ;
|
||||
static int x_idle = -1, y_idle = -1 ;
|
||||
|
||||
int deltat, x, y ;
|
||||
int x, y ;
|
||||
|
||||
if (buflen > 0 && (rxc & 0x80) ) {
|
||||
fprintf(stderr, "invalid code %d 0x%x\n", buflen, rxc);
|
||||
|
@ -621,7 +621,6 @@ mount_print(mp)
|
||||
struct mount *mp;
|
||||
{
|
||||
int flags;
|
||||
const char *type;
|
||||
|
||||
#define ST mp->mnt_stat
|
||||
(void)printf("*** MOUNT %s %s on %s", ST.f_fstypename,
|
||||
|
@ -119,7 +119,6 @@ make_ipaddr(void)
|
||||
static char address[20] ="";
|
||||
struct hostent *he;
|
||||
unsigned long ipaddr;
|
||||
int i;
|
||||
|
||||
address[0] = '\0';
|
||||
if ((he = gethostbyname(raddr)) != NULL) {
|
||||
|
@ -246,7 +246,6 @@ int __yp_ping(restricted_addrs, cnt, dom, port)
|
||||
CLIENT *clnt;
|
||||
char *foo = dom;
|
||||
struct cu_data *cu;
|
||||
enum clnt_stat (*oldfunc)();
|
||||
int validsrvs = 0;
|
||||
|
||||
/* Set up handles. */
|
||||
|
Loading…
Reference in New Issue
Block a user