From: Andre Noll Date: Fri, 27 Dec 2013 23:57:31 +0000 (+0000) Subject: alsa: Remove pointless initialization. X-Git-Tag: v0.5.3~22^2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=6fb1fc05a236d8732b0ae9581cc84d9958b3af76;ds=sidebyside alsa: Remove pointless initialization. The value stored in msg is never read. Found by the clang analyzer. --- diff --git a/alsa_write.c b/alsa_write.c index 1c0b9281..3a8a5f40 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -114,7 +114,6 @@ static int alsa_init(struct private_alsa_write_data *pad, &pad->sample_rate, NULL); if (ret < 0) goto fail; - msg = "unable to get buffer time"; /* alsa wants microseconds */ pad->buffer_time = conf->buffer_time_arg * 1000; msg = "could not set buffer time";