Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
08c2b101
Commit
08c2b101
authored
Aug 21, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Aug 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Remove some unnecessary code.
parent
e7140645
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
str.c
dlls/crypt32/str.c
+0
-6
No files found.
dlls/crypt32/str.c
View file @
08c2b101
...
...
@@ -169,10 +169,8 @@ static DWORD CRYPT_AddPrefixA(LPCSTR prefix, LPSTR psz, DWORD csz)
{
chars
=
min
(
lstrlenA
(
prefix
),
csz
);
memcpy
(
psz
,
prefix
,
chars
);
csz
-=
chars
;
*
(
psz
+
chars
)
=
'='
;
chars
++
;
csz
--
;
}
else
chars
=
lstrlenA
(
prefix
)
+
1
;
...
...
@@ -303,10 +301,8 @@ static DWORD CRYPT_AddPrefixAToW(LPCSTR prefix, LPWSTR psz, DWORD csz)
chars
=
min
(
lstrlenA
(
prefix
),
csz
);
for
(
i
=
0
;
i
<
chars
;
i
++
)
*
(
psz
+
i
)
=
prefix
[
i
];
csz
-=
chars
;
*
(
psz
+
chars
)
=
'='
;
chars
++
;
csz
--
;
}
else
chars
=
lstrlenA
(
prefix
)
+
1
;
...
...
@@ -328,10 +324,8 @@ static DWORD CRYPT_AddPrefixW(LPCWSTR prefix, LPWSTR psz, DWORD csz)
{
chars
=
min
(
lstrlenW
(
prefix
),
csz
);
memcpy
(
psz
,
prefix
,
chars
*
sizeof
(
WCHAR
));
csz
-=
chars
;
*
(
psz
+
chars
)
=
'='
;
chars
++
;
csz
--
;
}
else
chars
=
lstrlenW
(
prefix
)
+
1
;
...
...
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