diff options
author | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-02-27 22:22:04 +0000 |
---|---|---|
committer | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-02-27 22:22:04 +0000 |
commit | b1df2944b71fad420fd04607e16a80d7591a3c1b (patch) | |
tree | 3fa28cacbe452530757e88444d8f0aa0ee3bb63c /Foundation/GTMBase64.m | |
parent | 3388ce723f73ae47db17a9c7c3c3f766d566d0f7 (diff) |
a few fixes (and bug fix) found by clang
Diffstat (limited to 'Foundation/GTMBase64.m')
-rw-r--r-- | Foundation/GTMBase64.m | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Foundation/GTMBase64.m b/Foundation/GTMBase64.m index 5cbcfa7..9f9ffbf 100644 --- a/Foundation/GTMBase64.m +++ b/Foundation/GTMBase64.m @@ -532,7 +532,6 @@ GTM_INLINE NSUInteger GuessDecodedLength(NSUInteger srcLen) { curDest[0] = kBase64PaddingChar; curDest[1] = kBase64PaddingChar; curDest += 2; - destLen -= 2; } break; case 2: @@ -548,7 +547,6 @@ GTM_INLINE NSUInteger GuessDecodedLength(NSUInteger srcLen) { _GTMDevAssert(destLen >= 1, @"our calc for encoded length was wrong"); curDest[0] = kBase64PaddingChar; curDest += 1; - destLen -= 1; } break; } |