diff options
author | 2013-09-09 13:22:40 -0700 | |
---|---|---|
committer | 2013-09-09 13:22:40 -0700 | |
commit | c32bea6c4371284cc748f6e67c4b9444412f9a40 (patch) | |
tree | b9ecbebf5ed2bba79cab93330ef40c46a94b9607 /src/core/imap/MCIMAPSession.cc | |
parent | 63c71b915c681507d84c18e06cfdcd51f3818eb0 (diff) | |
parent | 1e0bbe335d39e909651e5692449ff297518d6e7c (diff) |
Merge pull request #368 from yuklai/master_unusedVariables
Remove unused varilables.
Diffstat (limited to 'src/core/imap/MCIMAPSession.cc')
-rwxr-xr-x | src/core/imap/MCIMAPSession.cc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/core/imap/MCIMAPSession.cc b/src/core/imap/MCIMAPSession.cc index 31bbbc62..4d1905a9 100755 --- a/src/core/imap/MCIMAPSession.cc +++ b/src/core/imap/MCIMAPSession.cc @@ -214,17 +214,12 @@ static int compareValuesUnsignedLong(void * value1, void * value2, void * contex static struct mailimap_set * setFromArray(Array * array) { - unsigned int currentIndex; - unsigned int currentFirst; - unsigned int currentValue; - unsigned int lastValue; + unsigned int currentIndex = 0; + unsigned int currentFirst = 0; + unsigned int currentValue = 0; + unsigned int lastValue = 0; struct mailimap_set * imap_set; - currentFirst = 0; - currentValue = 0; - lastValue = 0; - currentIndex = 0; - array = array->sortedArray(compareValuesUnsignedLong, NULL); imap_set = mailimap_set_new_empty(); |