Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6256379a
Commit
6256379a
authored
Nov 21, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Remove unused variable.
parent
17cc65a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
element.c
dlls/msxml3/element.c
+1
-3
No files found.
dlls/msxml3/element.c
View file @
6256379a
...
...
@@ -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
--
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment