[pulseaudio-discuss] [PATCH v2 13/19] modules: Remove redundant code in virtual-surround-sink

Peter Meerwald pmeerw at pmeerw.net
Thu Dec 19 03:11:42 PST 2013


From: Peter Meerwald <p.meerwald at bct-electronic.com>

https://scan7.coverity.com:8443/reports.htm#v10206/p10016/fileInstanceId=8788&defectInstanceId=3710&mergedDefectId=591297

Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
 src/modules/module-virtual-surround-sink.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/modules/module-virtual-surround-sink.c b/src/modules/module-virtual-surround-sink.c
index 356ca22..1d6cfc6 100644
--- a/src/modules/module-virtual-surround-sink.c
+++ b/src/modules/module-virtual-surround-sink.c
@@ -568,8 +568,6 @@ int pa__init(pa_module*m) {
 
     /* Initialize hrir and input buffer */
     /* this is the hrir file for the left ear! */
-    hrir_file = pa_modargs_get_value(ma, "hrir", NULL);
-
     if (!(hrir_file = pa_modargs_get_value(ma, "hrir", NULL))) {
         pa_log("The mandatory 'hrir' module argument is missing.");
         goto fail;
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list