From e83cbde1a4b816a64cefde1fb8bdbac403079600 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 23 Jul 2013 00:45:23 +0200 Subject: Fix some -Wshadow warnings In general, this warning can hint to actual bugs. We don't enable it yet, because it would conflict with some unmerged code, and we should check with clang too (this commit was done by testing with gcc). --- audio/filter/af.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/filter/af.c') diff --git a/audio/filter/af.c b/audio/filter/af.c index 3737228ddf..91f3e907f1 100644 --- a/audio/filter/af.c +++ b/audio/filter/af.c @@ -204,9 +204,9 @@ static struct af_instance *af_create(struct af_stream *s, char *name, goto error; if (args && af->control) { // Single option string for old filters - char *s = (char *)args; // m_config_initialize_obj did this + char *opts = (char *)args; // m_config_initialize_obj did this assert(!af->priv); - if (af->control(af, AF_CONTROL_COMMAND_LINE, s) <= AF_ERROR) + if (af->control(af, AF_CONTROL_COMMAND_LINE, opts) <= AF_ERROR) goto error; } -- cgit v1.2.3