Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed unused variables from contacteditor/cdo/ContactDataObject.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 17 Mar 2016 17:33:40 +0000 (17:33 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 17 Mar 2016 17:33:40 +0000 (17:33 +0000)
source/contacteditor/cdo/ContactDataObject.cpp

index c017406..3b067d1 100644 (file)
@@ -460,7 +460,6 @@ void ContactDataObject::ProcessRevision(wxString PropertySeg1, wxString Property
 
        // Process the revision date.
        
-       size_t intPropertyLen = PropertySeg1.Len();
        std::map<int, int> SplitPoints;
        std::map<int, int> SplitLength;
        std::map<int, int>::iterator SLiter;                    
@@ -469,8 +468,6 @@ void ContactDataObject::ProcessRevision(wxString PropertySeg1, wxString Property
        wxString PropertyValue;
        wxString PropertyTokens;
        bool FirstToken = TRUE;
-       int intSplitsFound = 0;
-       int intSplitSize = 0;
        int intPrevValue = 5;
        
        SplitValues(&PropertySeg1, &SplitPoints, &SplitLength, intPrevValue);
@@ -525,7 +522,6 @@ void ContactDataObject::ProcessSource(wxString PropertySeg1, wxString PropertySe
 
        // Process the source address.
        
-       size_t intPropertyLen = PropertySeg1.Len();
        std::map<int, int> SplitPoints;
        std::map<int, int> SplitLength;
        std::map<int, int>::iterator SLiter;                    
@@ -535,8 +531,6 @@ void ContactDataObject::ProcessSource(wxString PropertySeg1, wxString PropertySe
        wxString PropertyTokens;
        bool FirstToken = TRUE;
        bool PropertyMatched = FALSE;
-       int intSplitsFound = 0;
-       int intSplitSize = 0;
        int intPrevValue = 8;
        
        SplitValues(&PropertySeg1, &SplitPoints, &SplitLength, intPrevValue);
@@ -597,11 +591,8 @@ void ContactDataObject::ProcessSource(wxString PropertySeg1, wxString PropertySe
        
        }       
        
-       intPropertyLen = PropertySeg2.Len();
        SplitPoints.clear();
        SplitLength.clear();
-       intSplitsFound = 0;
-       intSplitSize = 0;
        intPrevValue = 0;
        
        CaptureString(&PropertySeg2, FALSE);
@@ -647,7 +638,6 @@ void ContactDataObject::ProcessXML(wxString PropertySeg1, wxString PropertySeg2,
        wxString PropertyData;
        wxString PropertyTokens;
        std::map<int,int>::iterator SLiter;
-       bool FirstToken = TRUE;
        bool PropertyMatched = FALSE;
        
        for (std::map<int, int>::iterator intiter = SplitPoints.begin(); 
@@ -949,7 +939,6 @@ void ContactDataObject::ProcessClientPIDMap(wxString PropertySeg1, wxString Prop
 
        // Process the Client PID Map.
        
-       size_t intPropertyLen = PropertySeg1.Len();
        std::map<int, int> SplitPoints;
        std::map<int, int> SplitLength;
        std::map<int, int>::iterator SLiter;                    
@@ -958,8 +947,6 @@ void ContactDataObject::ProcessClientPIDMap(wxString PropertySeg1, wxString Prop
        wxString PropertyValue;
        wxString PropertyTokens;
        bool FirstToken = TRUE;
-       int intSplitsFound = 0;
-       int intSplitSize = 0;
        int intPrevValue = 14;
        
        SplitValues(&PropertySeg1, &SplitPoints, &SplitLength, intPrevValue);
@@ -2038,7 +2025,6 @@ void ContactDataObject::ProcessTelephone(wxString PropertySeg1, wxString Propert
        int intSplitSize = 0;
        int intSplitsFound = 0;
        int intSplitPoint = 0;
-       int intType = 0;
        int intPrevValue = 5;
                
        SplitValues(&PropertySeg1, &SplitPoints, &SplitLength, intPrevValue);
@@ -2533,7 +2519,6 @@ void ContactDataObject::ProcessRelated(wxString PropertySeg1, wxString PropertyS
 
        // Process the relation.
        
-       size_t intPropertyLen = PropertySeg1.Len();
        std::map<int, int> SplitPoints;
        std::map<int, int> SplitLength;
        std::map<int, int>::iterator SLiter;                    
@@ -2545,8 +2530,6 @@ void ContactDataObject::ProcessRelated(wxString PropertySeg1, wxString PropertyS
        wxString RelatedTypeOriginal;                   
        wxString RelatedName;
        bool FirstToken = TRUE;                 
-       int intSplitsFound = 0;
-       int intSplitSize = 0;
        int intPrevValue = 9;
        
        SplitValues(&PropertySeg1, &SplitPoints, &SplitLength, intPrevValue);
@@ -4130,8 +4113,6 @@ void ContactDataObject::ProcessCalendarURI(wxString PropertySeg1, wxString Prope
        wxString PropertyValue;
        wxString PropertyTokens;
        bool FirstToken = TRUE;
-       int intSplitsFound = 0;
-       int intSplitSize = 0;
        int intPrevValue = 8;
        
        SplitValues(&PropertySeg1, &SplitPoints, &SplitLength, intPrevValue);
@@ -4190,11 +4171,8 @@ void ContactDataObject::ProcessCalendarURI(wxString PropertySeg1, wxString Prope
        
        }       
        
-       intPropertyLen = PropertySeg2.Len();
        SplitPoints.clear();
        SplitLength.clear();
-       intSplitsFound = 0;
-       intSplitSize = 0;
        intPrevValue = 0;
        
        CaptureString(&PropertySeg2, FALSE);
@@ -4225,8 +4203,7 @@ void ContactDataObject::ProcessCalendarURI(wxString PropertySeg1, wxString Prope
 void ContactDataObject::ProcessCalendarAddressURI(wxString PropertySeg1, wxString PropertySeg2, int *CalAdrURICount){
 
        // Process the calendar address URI.
-       
-       size_t intPropertyLen = PropertySeg1.Len();
+
        std::map<int, int> SplitPoints;
        std::map<int, int> SplitLength;
        std::map<int, int>::iterator SLiter;                    
@@ -4235,8 +4212,6 @@ void ContactDataObject::ProcessCalendarAddressURI(wxString PropertySeg1, wxStrin
        wxString PropertyValue;
        wxString PropertyTokens;
        bool FirstToken = TRUE;
-       int intSplitsFound = 0;
-       int intSplitSize = 0;
        int intPrevValue = 8;
        
        SplitValues(&PropertySeg1, &SplitPoints, &SplitLength, intPrevValue);
@@ -4295,11 +4270,8 @@ void ContactDataObject::ProcessCalendarAddressURI(wxString PropertySeg1, wxStrin
        
        }       
        
-       intPropertyLen = PropertySeg2.Len();
        SplitPoints.clear();
        SplitLength.clear();
-       intSplitsFound = 0;
-       intSplitSize = 0;
        intPrevValue = 0;
        
        CaptureString(&PropertySeg2, FALSE);
@@ -4340,8 +4312,6 @@ void ContactDataObject::ProcessCalendarFreeBusy(wxString PropertySeg1, wxString
        wxString PropertyValue;
        wxString PropertyTokens;
        bool FirstToken = TRUE;
-       int intSplitsFound = 0;
-       int intSplitSize = 0;
        int intPrevValue = 7;
        
        SplitValues(&PropertySeg1, &SplitPoints, &SplitLength, intPrevValue);
@@ -4403,8 +4373,6 @@ void ContactDataObject::ProcessCalendarFreeBusy(wxString PropertySeg1, wxString
        intPropertyLen = PropertySeg2.Len();
        SplitPoints.clear();
        SplitLength.clear();
-       intSplitsFound = 0;
-       intSplitSize = 0;
        intPrevValue = 0;
        
        CaptureString(&PropertySeg2, FALSE);
@@ -4435,8 +4403,7 @@ void ContactDataObject::ProcessCalendarFreeBusy(wxString PropertySeg1, wxString
 void ContactDataObject::ProcessKey(wxString PropertySeg1, wxString PropertySeg2, int *KeyCount){
 
        // Process the key.
-       
-       size_t intPropertyLen = PropertySeg1.Len();
+
        std::map<int, int> SplitPoints;
        std::map<int, int> SplitLength;
        std::map<int, int>::iterator SLiter;                    
@@ -4502,7 +4469,6 @@ void ContactDataObject::ProcessKey(wxString PropertySeg1, wxString PropertySeg2,
        
        }                               
        
-       intPropertyLen = PropertySeg2.Len();
        SplitPoints.clear();
        SplitLength.clear();
        intSplitsFound = 0;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy