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
105ffa40
Commit
105ffa40
authored
Oct 14, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Remove code that is never executed.
parent
72fb8e2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
string.c
dlls/msvcp90/string.c
+4
-12
No files found.
dlls/msvcp90/string.c
View file @
105ffa40
...
@@ -637,10 +637,8 @@ basic_string_char* __thiscall MSVCP_basic_string_char_erase(
...
@@ -637,10 +637,8 @@ basic_string_char* __thiscall MSVCP_basic_string_char_erase(
{
{
TRACE
(
"%p %lu %lu
\n
"
,
this
,
pos
,
len
);
TRACE
(
"%p %lu %lu
\n
"
,
this
,
pos
,
len
);
if
(
pos
>
this
->
size
)
{
if
(
pos
>
this
->
size
)
MSVCP__String_base_Xran
();
MSVCP__String_base_Xran
();
return
NULL
;
}
if
(
len
>
this
->
size
-
pos
)
if
(
len
>
this
->
size
-
pos
)
len
=
this
->
size
-
pos
;
len
=
this
->
size
-
pos
;
...
@@ -664,10 +662,8 @@ basic_string_char* __thiscall MSVCP_basic_string_char_assign_substr(
...
@@ -664,10 +662,8 @@ basic_string_char* __thiscall MSVCP_basic_string_char_assign_substr(
{
{
TRACE
(
"%p %p %lu %lu
\n
"
,
this
,
assign
,
pos
,
len
);
TRACE
(
"%p %p %lu %lu
\n
"
,
this
,
assign
,
pos
,
len
);
if
(
assign
->
size
<
pos
)
{
if
(
assign
->
size
<
pos
)
MSVCP__String_base_Xran
();
MSVCP__String_base_Xran
();
return
NULL
;
}
if
(
len
>
assign
->
size
-
pos
)
if
(
len
>
assign
->
size
-
pos
)
len
=
assign
->
size
-
pos
;
len
=
assign
->
size
-
pos
;
...
@@ -2087,10 +2083,8 @@ basic_string_wchar* __thiscall MSVCP_basic_string_wchar_erase(
...
@@ -2087,10 +2083,8 @@ basic_string_wchar* __thiscall MSVCP_basic_string_wchar_erase(
{
{
TRACE
(
"%p %lu %lu
\n
"
,
this
,
pos
,
len
);
TRACE
(
"%p %lu %lu
\n
"
,
this
,
pos
,
len
);
if
(
pos
>
this
->
size
)
{
if
(
pos
>
this
->
size
)
MSVCP__String_base_Xran
();
MSVCP__String_base_Xran
();
return
NULL
;
}
if
(
len
>
this
->
size
-
pos
)
if
(
len
>
this
->
size
-
pos
)
len
=
this
->
size
-
pos
;
len
=
this
->
size
-
pos
;
...
@@ -2114,10 +2108,8 @@ basic_string_wchar* __thiscall MSVCP_basic_string_wchar_assign_substr(
...
@@ -2114,10 +2108,8 @@ basic_string_wchar* __thiscall MSVCP_basic_string_wchar_assign_substr(
{
{
TRACE
(
"%p %p %lu %lu
\n
"
,
this
,
assign
,
pos
,
len
);
TRACE
(
"%p %p %lu %lu
\n
"
,
this
,
assign
,
pos
,
len
);
if
(
assign
->
size
<
pos
)
{
if
(
assign
->
size
<
pos
)
MSVCP__String_base_Xran
();
MSVCP__String_base_Xran
();
return
NULL
;
}
if
(
len
>
assign
->
size
-
pos
)
if
(
len
>
assign
->
size
-
pos
)
len
=
assign
->
size
-
pos
;
len
=
assign
->
size
-
pos
;
...
...
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