mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
49dd9242f7
These audio drivers enable support for Intel HD Audio (Azalia) and Ensoniq AudioPCI (ES1370) compatible soundcards. They are ported from OpenBSD 5.7. Fixes #1498.
15 lines
422 B
Diff
15 lines
422 B
Diff
dev/audio.c:XXX:Y: warning: ‘type’ may be used uninitialized in this function [-Wmaybe-uninitialized]
|
||
diff --git a/dev/audio.c b/dev/audio.c
|
||
index a9fa22b..da8a783 100644
|
||
--- a/dev/audio.c
|
||
+++ b/dev/audio.c
|
||
@@ -639,7 +639,7 @@ int
|
||
audioprint(void *aux, const char *pnp)
|
||
{
|
||
struct audio_attach_args *arg = aux;
|
||
- const char *type;
|
||
+ const char *type = "never printed";
|
||
|
||
if (pnp != NULL) {
|
||
switch (arg->type) {
|