projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76fc868
)
alsa: Remove pointless initialization.
author
Andre Noll
<maan@systemlinux.org>
Fri, 27 Dec 2013 23:57:31 +0000
(23:57 +0000)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 8 Mar 2014 13:45:20 +0000
(14:45 +0100)
The value stored in msg is never read. Found by the clang analyzer.
alsa_write.c
patch
|
blob
|
history
diff --git
a/alsa_write.c
b/alsa_write.c
index 1c0b928158d04405c66321e4ed6cfeec1468ee23..3a8a5f40ea19ff1b0d5c844e96a2aed4de167767 100644
(file)
--- 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";