avoid initialization bug in vax gcc: int i; foo(&i);
This commit is contained in:
parent
327f3bc8e5
commit
c1bdad31a0
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ccdconfig.c,v 1.52 2013/04/27 17:12:36 christos Exp $ */
|
/* $NetBSD: ccdconfig.c,v 1.53 2013/05/03 00:01:15 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
||||||
@ -33,7 +33,7 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
__COPYRIGHT("@(#) Copyright (c) 1996, 1997\
|
__COPYRIGHT("@(#) Copyright (c) 1996, 1997\
|
||||||
The NetBSD Foundation, Inc. All rights reserved.");
|
The NetBSD Foundation, Inc. All rights reserved.");
|
||||||
__RCSID("$NetBSD: ccdconfig.c,v 1.52 2013/04/27 17:12:36 christos Exp $");
|
__RCSID("$NetBSD: ccdconfig.c,v 1.53 2013/05/03 00:01:15 christos Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -532,7 +532,7 @@ dump_ccd(int argc, char **argv, int action)
|
|||||||
|
|
||||||
/* Dump ccd configuration to stdout. */
|
/* Dump ccd configuration to stdout. */
|
||||||
while (argc) {
|
while (argc) {
|
||||||
int i;
|
int i = 0; /* XXX: vax gcc */
|
||||||
int error;
|
int error;
|
||||||
char *cp = *argv++; --argc;
|
char *cp = *argv++; --argc;
|
||||||
char *ccd;
|
char *ccd;
|
||||||
|
Loading…
Reference in New Issue
Block a user