summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pulsecore/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/module.c b/src/pulsecore/module.c
index 3568059e..cdf95ada 100644
--- a/src/pulsecore/module.c
+++ b/src/pulsecore/module.c
@@ -223,8 +223,8 @@ static void free_callback(void *p, PA_GCC_UNUSED void *userdata) {
}
void pa_module_unload_all(pa_core *c) {
- assert(c);
pa_module *m;
+ assert(c);
if (!c->modules)
return;