Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/stand/common avoid an unused variable warning
details: https://anonhg.NetBSD.org/src/rev/6477bc6e4cf4
branches: trunk
changeset: 513597:6477bc6e4cf4
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Aug 05 03:03:16 2001 +0000
description:
avoid an unused variable warning
diffstat:
sys/arch/sparc/stand/common/promdev.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ededc900973a -r 6477bc6e4cf4 sys/arch/sparc/stand/common/promdev.c
--- a/sys/arch/sparc/stand/common/promdev.c Sun Aug 05 02:13:19 2001 +0000
+++ b/sys/arch/sparc/stand/common/promdev.c Sun Aug 05 03:03:16 2001 +0000
@@ -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
@@ -118,7 +118,7 @@
const char *fname;
char **file;
{
- int error = 0, fd;
+ int error = 0, fd = 0;
struct promdata *pd;
pd = (struct promdata *)alloc(sizeof *pd);
Home |
Main Index |
Thread Index |
Old Index