avoid an unused variable warning
This commit is contained in:
parent
d70e5167de
commit
ca351acf50
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: promdev.c,v 1.10 2001/04/04 15:41:46 pk Exp $ */
|
/* $NetBSD: promdev.c,v 1.11 2001/08/05 03:03:16 mrg Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1993 Paul Kranenburg
|
* Copyright (c) 1993 Paul Kranenburg
|
||||||
|
@ -118,7 +118,7 @@ devopen(f, fname, file)
|
||||||
const char *fname;
|
const char *fname;
|
||||||
char **file;
|
char **file;
|
||||||
{
|
{
|
||||||
int error = 0, fd;
|
int error = 0, fd = 0;
|
||||||
struct promdata *pd;
|
struct promdata *pd;
|
||||||
|
|
||||||
pd = (struct promdata *)alloc(sizeof *pd);
|
pd = (struct promdata *)alloc(sizeof *pd);
|
||||||
|
|
Loading…
Reference in New Issue