From 5196453117cfbbb96e07636e2572c6702d58e462 Mon Sep 17 00:00:00 2001
From: Peter Meerwald
Date: Mon, 16 Dec 2013 18:10:36 +0100
Subject: [PATCH] modules: Remove redundant code in virtual-surround-sink
https://scan7.coverity.com:8443/reports.htm#v10206/p10016/fileInstanceId=8788&defectInstanceId=3710&mergedDefectId=591297
Signed-off-by: Peter Meerwald
---
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 356ca22e0..1d6cfc699 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;