From 6fb1fc05a236d8732b0ae9581cc84d9958b3af76 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 27 Dec 2013 23:57:31 +0000 Subject: [PATCH] alsa: Remove pointless initialization. The value stored in msg is never read. Found by the clang analyzer. --- alsa_write.c | 1 - 1 file changed, 1 deletion(-) 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"; -- 2.39.2