Deal with somewhat bogus uninitialized warning in new egcs. Behavior
is such that would inidicate that __attribute__((__noreturn__)) is not being honored.
This commit is contained in:
parent
f3d7e7e21c
commit
73d1752963
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: audio.c,v 1.99 1998/08/17 21:16:11 augustss Exp $ */
|
||||
/* $NetBSD: audio.c,v 1.100 1998/08/18 06:16:45 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1993 Regents of the University of California.
|
||||
|
@ -418,6 +418,9 @@ audioprint(aux, pnp)
|
|||
type = "mpu";
|
||||
break;
|
||||
default:
|
||||
#ifdef __GNUC__
|
||||
type = NULL; /* XXX -Wuninitialized */
|
||||
#endif
|
||||
panic("audioprint: unknown type %d", arg->type);
|
||||
}
|
||||
printf("%s at %s", type, pnp);
|
||||
|
|
Loading…
Reference in New Issue