From 220f957cd8fb7f0c91e1bb39a50fa3829b28394a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Oct 2014 22:44:53 +0200 Subject: pcm/ChannelsConverter: fix variable used to generate error message Use the "_format" parameter instead of the (uninitialized) "format" attribute. --- src/pcm/ChannelsConverter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcm/ChannelsConverter.cxx b/src/pcm/ChannelsConverter.cxx index f93f4f677..714613788 100644 --- a/src/pcm/ChannelsConverter.cxx +++ b/src/pcm/ChannelsConverter.cxx @@ -43,7 +43,7 @@ PcmChannelsConverter::Open(SampleFormat _format, default: error.Format(pcm_domain, "PCM channel conversion for %s is not implemented", - sample_format_to_string(format)); + sample_format_to_string(_format)); return false; } -- cgit v1.2.3