Changeset 76 for trunk/Item.cpp


Ignore:
Timestamp:
11/4/2007 3:31:02 AM (5 years ago)
Author:
lowjoel
Message:

Warning fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Item.cpp

    r47 r76  
    392392BOOL CScheduleItem::SetNextTime(CString& str) 
    393393{ 
    394     BOOL bResult; 
    395  
    396394    try 
    397395    { 
    398         bResult = 
    399             m_odtNext.ParseDateTime((LPCTSTR) str); 
     396        return m_odtNext.ParseDateTime((LPCTSTR) str); 
    400397    } 
    401398    catch (CException *e) 
     
    405402        e->Delete(); 
    406403 
    407         bResult = FALSE; 
     404        return FALSE; 
    408405    } 
    409406    catch (...) 
    410407    { 
    411408        ASSERT(FALSE); 
    412     } 
    413  
    414     return bResult; 
     409        return FALSE; 
     410    } 
    415411} 
    416412 
Note: See TracChangeset for help on using the changeset viewer.