# HG changeset patch # User Tony Vroon # Date 1240087096 -3600 # Node ID 919ec26c66c3a631a3e4380e33a19b7a5d367e21 # Parent a3734dd60d7a2eddd9f528196d6a634ac502fc7d Do not assign the result of snd_card_next, we do not care about it. Code analysis, unique ID HQvjgU. diff -r a3734dd60d7a -r 919ec26c66c3 src/alsa/audio.c --- a/src/alsa/audio.c Sat Apr 18 21:28:56 2009 +0100 +++ b/src/alsa/audio.c Sat Apr 18 21:38:16 2009 +0100 @@ -131,9 +131,9 @@ int alsa_hardware_present(void) { - gint card = -1, err; + gint card = -1; - if ((err = snd_card_next(&card)) != 0) + if ((snd_card_next(&card)) != 0) return 0; return 1;