From 9b119cadd74e1343cad493e8b366e69743a620d0 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 21 Dec 2014 09:49:05 +0000 Subject: Quotes: changed warning level to w4 git-svn-id: http://svn.miranda-ng.org/main/trunk@11552 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/QuotesProviderVisitorTendency.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/Quotes/src/QuotesProviderVisitorTendency.cpp') diff --git a/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp b/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp index d5495abc16..1a62a289f1 100644 --- a/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp +++ b/plugins/Quotes/src/QuotesProviderVisitorTendency.cpp @@ -1,13 +1,13 @@ #include "stdafx.h" -CQuotesProviderVisitorTendency::CQuotesProviderVisitorTendency(MCONTACT hContact,TCHAR chr) - : m_hContact(hContact),m_chr(chr),m_bValid(false),m_dResult(0.0) +CQuotesProviderVisitorTendency::CQuotesProviderVisitorTendency(MCONTACT hContact, TCHAR chr) + : m_hContact(hContact), m_chr(chr), m_bValid(false), m_dResult(0.0) { } -void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderBase& rProvider) +void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderBase&) { - switch(m_chr) + switch (m_chr) { case _T('r'): case _T('R'): @@ -19,9 +19,9 @@ void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderBase& rProvider) } } -void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderGoogleFinance& rProvider) +void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderGoogleFinance&) { - switch(m_chr) + switch (m_chr) { case _T('o'): GetValue(DB_STR_GOOGLE_FINANCE_OPEN_VALUE); @@ -35,9 +35,9 @@ void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderGoogleFinance& r } } -void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderYahoo& rProvider) +void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderYahoo&) { - switch(m_chr) + switch (m_chr) { case _T('o'): GetValue(DB_STR_YAHOO_OPEN_VALUE); @@ -61,5 +61,5 @@ void CQuotesProviderVisitorTendency::Visit(const CQuotesProviderYahoo& rProvider void CQuotesProviderVisitorTendency::GetValue(LPCSTR pszDbKeyName) { - m_bValid = Quotes_DBReadDouble(m_hContact,QUOTES_MODULE_NAME,pszDbKeyName,m_dResult); + m_bValid = Quotes_DBReadDouble(m_hContact, QUOTES_MODULE_NAME, pszDbKeyName, m_dResult); } -- cgit v1.2.3