summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-12-04 08:15:06 +0000
committerPierre Ossman <ossman@cendio.se>2006-12-04 08:15:06 +0000
commit1a460ee40ab19e354402f6c9346591b554471f03 (patch)
tree08d52373f204d4f0eb65919e00c9866e8fc70557
parent68bcbd29139df99174e0e7757c540a91b577883f (diff)
Fix silly copy-and-paste error. (closes #45)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1417 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/pulsecore/autoload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/autoload.c b/src/pulsecore/autoload.c
index 8e57d343a..60304201f 100644
--- a/src/pulsecore/autoload.c
+++ b/src/pulsecore/autoload.c
@@ -102,7 +102,7 @@ int pa_autoload_add(pa_core *c, const char*name, pa_namereg_type_t type, const c
int pa_autoload_remove_by_name(pa_core *c, const char*name, pa_namereg_type_t type) {
pa_autoload_entry *e;
- assert(c && name && module && (type == PA_NAMEREG_SINK || type == PA_NAMEREG_SOURCE));
+ assert(c && name && (type == PA_NAMEREG_SINK || type == PA_NAMEREG_SOURCE));
if (!c->autoload_hashmap || !(e = pa_hashmap_get(c->autoload_hashmap, name)) || e->type != type)
return -1;