Andrew Talbot : msxml3: Remove unused variable.
Alexandre Julliard
julliard at winehq.org
Thu Nov 22 13:48:21 CST 2012
Module: wine
Branch: master
Commit: 6256379a967ee862bfb342bf12c945934eb95c04
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6256379a967ee862bfb342bf12c945934eb95c04
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Wed Nov 21 21:16:55 2012 +0000
msxml3: Remove unused variable.
---
dlls/msxml3/element.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/msxml3/element.c b/dlls/msxml3/element.c
index eee737e..4892920 100644
--- a/dlls/msxml3/element.c
+++ b/dlls/msxml3/element.c
@@ -736,7 +736,7 @@ static HRESULT encode_base64(const BYTE *buf, int len, BSTR *ret)
{
static const char b64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
const BYTE *d = buf;
- int bytes, pad_bytes, div, i;
+ int bytes, pad_bytes, div;
DWORD needed;
WCHAR *ptr;
@@ -753,7 +753,6 @@ static HRESULT encode_base64(const BYTE *buf, int len, BSTR *ret)
div = len / 3;
ptr = *ret;
- i = 0;
while (div > 0)
{
/* first char is the first 6 bits of the first byte*/
@@ -766,7 +765,6 @@ static HRESULT encode_base64(const BYTE *buf, int len, BSTR *ret)
*ptr++ = b64[ ((d[1] << 2) & 0x3c) | (d[2] >> 6 & 0x03)];
/* fourth char is the remaining 6 bits of the third byte */
*ptr++ = b64[ d[2] & 0x3f];
- i += 4;
d += 3;
div--;
}
More information about the wine-cvs
mailing list