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
9941f846
Commit
9941f846
authored
Sep 18, 2010
by
Luca Bennati
Committed by
Alexandre Julliard
Sep 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Remove dead assignments.
parent
507b29a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
console.c
dlls/kernel32/console.c
+1
-1
module.c
dlls/kernel32/module.c
+1
-1
No files found.
dlls/kernel32/console.c
View file @
9941f846
...
...
@@ -2276,7 +2276,7 @@ static int write_block(HANDLE hCon, CONSOLE_SCREEN_BUFFER_INFO* csbi,
* happen if we're asked to overwrite more than twice the part of the line,
* which is unlikely
*/
for
(
blk
=
done
=
0
;
done
<
len
;
done
+=
blk
)
for
(
done
=
0
;
done
<
len
;
done
+=
blk
)
{
blk
=
min
(
len
-
done
,
csbi
->
dwSize
.
X
-
csbi
->
dwCursorPosition
.
X
);
...
...
dlls/kernel32/module.c
View file @
9941f846
...
...
@@ -864,7 +864,7 @@ static HMODULE load_library( const UNICODE_STRING *libname, DWORD flags )
ULONG
magic
;
LdrLockLoaderLock
(
0
,
NULL
,
&
magic
);
if
(
!
(
nts
=
LdrGetDllHandle
(
load_path
,
flags
,
libname
,
&
hModule
)
))
if
(
!
LdrGetDllHandle
(
load_path
,
flags
,
libname
,
&
hModule
))
{
LdrAddRefDll
(
0
,
hModule
);
LdrUnlockLoaderLock
(
0
,
magic
);
...
...
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