modules: Remove redundant code in virtual-surround-sink
authorPeter Meerwald <p.meerwald@bct-electronic.com>
Mon, 16 Dec 2013 17:10:36 +0000 (18:10 +0100)
committerPeter Meerwald <p.meerwald@bct-electronic.com>
Fri, 20 Dec 2013 11:55:17 +0000 (12:55 +0100)
https://scan7.coverity.com:8443/reports.htm#v10206/p10016/fileInstanceId=8788&defectInstanceId=3710&mergedDefectId=591297

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
src/modules/module-virtual-surround-sink.c

index 356ca22..1d6cfc6 100644 (file)
@@ -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;