diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-20 22:58:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-20 22:58:41 +0000 |
commit | f5a2a6da0378e95c5eb330e0ec4dc2aeca2e7fd2 (patch) | |
tree | f9ea497840769ffb0e5796c624adcfc94987d30c /plugins/Exchange | |
parent | 14c356f7b506bd3b9f8e2535c17ba7336b7df0f9 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@13725 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Exchange')
-rw-r--r-- | plugins/Exchange/src/MirandaExchange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Exchange/src/MirandaExchange.cpp b/plugins/Exchange/src/MirandaExchange.cpp index ba0bc86861..0eebaae966 100644 --- a/plugins/Exchange/src/MirandaExchange.cpp +++ b/plugins/Exchange/src/MirandaExchange.cpp @@ -593,7 +593,6 @@ HRESULT CMirandaExchange::isMapiSessionOK( LPMAPISESSION ) HRESULT CMirandaExchange::CheckForNewMails( int &nNewMails)
{
- HRESULT hRes;
if ( m_nNumberOfHeaders>0 && NULL != m_HeadersKeeper )
{
for( UINT i=0; i<m_nNumberOfHeaders; i++ )
@@ -610,6 +609,7 @@ HRESULT CMirandaExchange::CheckForNewMails( int &nNewMails) m_nNumberOfHeaders = 0;
+ HRESULT hRes;
try
{
if ( m_lpMAPISession != NULL && (isMapiSessionOK(m_lpMAPISession)== S_OK) && m_lpInbox != NULL && m_bFolderInboxOK )
@@ -634,7 +634,7 @@ HRESULT CMirandaExchange::CheckForNewMails( int &nNewMails) }
catch (...)
{
-
+ hRes = E_FAIL;
}
return hRes;
|