From: Steve Brokenshire Date: Wed, 16 Mar 2016 22:26:30 +0000 (+0000) Subject: Removed unused variables from vcard/vcard.cpp X-Git-Tag: release-0.11~55^2~3 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=289f8794830bbd44fc4eb04c0f14a574f9f50c3f;p=xestiaab%2F.git Removed unused variables from vcard/vcard.cpp --- diff --git a/source/vcard/vcard.cpp b/source/vcard/vcard.cpp index b519707..bc9cd81 100644 --- a/source/vcard/vcard.cpp +++ b/source/vcard/vcard.cpp @@ -198,7 +198,6 @@ vCardName vCard::GetName(){ // Process the name data to get the required information. int intPropertyLen = NameDataGet.Len(); - int intSplitSeek = 0; int intSplitsFound = 0; int intSplitSize = 0; int intPrevValue = 0; @@ -388,10 +387,8 @@ int vCard::WriteFile(wxString WriteFilename){ int SettingLineLen = SettingLine.Len(); int intDivider = 74; - int intTimes = floor((SettingLine.Len() / intDivider)); int intSeek = 0; int intLineSeek = 0; - int intPrevLine; bool FirstLine = TRUE; // Remember to round down the calculation. @@ -405,7 +402,6 @@ int vCard::WriteFile(wxString WriteFilename){ intSeek = intSeek + 3; SettingLineLen = SettingLineLen + 3; intLineSeek = 0; - intPrevLine = intSeek; FirstLine = FALSE; } @@ -491,7 +487,6 @@ void vCard::ProcessString(wxString *ContactDataInc){ wxString wxSPropertySeg2; bool FoundBegin = FALSE; - bool FoundEnd = FALSE; bool FirstContact = TRUE; wxString FirstContactData; wxString ContactData; @@ -692,10 +687,8 @@ wxString vCard::WriteString(){ int SettingLineLen = SettingLine.Len(); int intDivider = 74; - int intTimes = floor((SettingLine.Len() / intDivider)); int intSeek = 0; int intLineSeek = 0; - int intPrevLine; bool FirstLine = TRUE; // Remember to round down the calculation. @@ -709,7 +702,6 @@ wxString vCard::WriteString(){ intSeek = intSeek + 3; SettingLineLen = SettingLineLen + 3; intLineSeek = 0; - intPrevLine = intSeek; FirstLine = FALSE; }