diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-09-29 18:25:15 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-09-29 18:45:34 +0400 |
commit | 0c70b043fb2b6d30dd0b90a25b2e0a2c9ce2d883 (patch) | |
tree | 199bcf4a722ac314438d8ff82af96afac776abbc /src/filters/source/ShoutcastSource | |
parent | f232408311ca7d5c86e8202ceb09819acbd3670f (diff) |
fix a few cppcheck warnings:
* initialize var in the constructor
* reduce variable scope
* unused variable value
Diffstat (limited to 'src/filters/source/ShoutcastSource')
-rw-r--r-- | src/filters/source/ShoutcastSource/ShoutcastSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/source/ShoutcastSource/ShoutcastSource.cpp b/src/filters/source/ShoutcastSource/ShoutcastSource.cpp index 6b22e460a..de54ae8bc 100644 --- a/src/filters/source/ShoutcastSource/ShoutcastSource.cpp +++ b/src/filters/source/ShoutcastSource/ShoutcastSource.cpp @@ -662,7 +662,7 @@ bool CShoutcastStream::CShoutcastSocket::Connect(CUrl& url) } else if (1 == sscanf_s(str, "icy-br:%d", &m_bitrate)) {
m_bitrate *= 1000;
} else if (1 == sscanf_s(str, "icy-metaint:%d", &metaint)) {
- metaint = metaint;
+ m_metaint = metaint;
}
str.Empty();
} else {
|