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
e8b73fa8
Commit
e8b73fa8
authored
Feb 05, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Remove some useless operations (LLVM/Clang).
parent
b5ddadce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
listview.c
dlls/comctl32/listview.c
+4
-4
No files found.
dlls/comctl32/listview.c
View file @
e8b73fa8
...
...
@@ -6,7 +6,7 @@
* Copyright 2000 Jason Mawdsley
* Copyright 2001 CodeWeavers Inc.
* Copyright 2002 Dimitrie O. Paun
* Copyright 2009
, 2010
Nikolay Sivov
* Copyright 2009
-2011
Nikolay Sivov
* Copyright 2009 Owen Rudge for CodeWeavers
*
* This library is free software; you can redistribute it and/or
...
...
@@ -617,7 +617,7 @@ static const char* debugscrollinfo(const SCROLLINFO *pScrollInfo)
if
(
pScrollInfo
->
fMask
&
SIF_TRACKPOS
)
len
=
snprintf
(
buf
,
size
,
"nTrackPos=%d, "
,
pScrollInfo
->
nTrackPos
);
else
len
=
0
;
if
(
len
==
-
1
)
goto
end
;
buf
+=
len
;
size
-=
len
;
if
(
len
==
-
1
)
goto
end
;
buf
+=
len
;
goto
undo
;
end:
buf
=
text
+
strlen
(
text
);
...
...
@@ -662,7 +662,7 @@ static const char* debuglvitem_t(const LVITEMW *lpLVItem, BOOL isW)
if
(
lpLVItem
->
mask
&
LVIF_INDENT
)
len
=
snprintf
(
buf
,
size
,
"iIndent=%d, "
,
lpLVItem
->
iIndent
);
else
len
=
0
;
if
(
len
==
-
1
)
goto
end
;
buf
+=
len
;
size
-=
len
;
if
(
len
==
-
1
)
goto
end
;
buf
+=
len
;
goto
undo
;
end:
buf
=
text
+
strlen
(
text
);
...
...
@@ -702,7 +702,7 @@ static const char* debuglvcolumn_t(const LVCOLUMNW *lpColumn, BOOL isW)
if
(
lpColumn
->
mask
&
LVCF_ORDER
)
len
=
snprintf
(
buf
,
size
,
"iOrder=%d, "
,
lpColumn
->
iOrder
);
else
len
=
0
;
if
(
len
==
-
1
)
goto
end
;
buf
+=
len
;
size
-=
len
;
if
(
len
==
-
1
)
goto
end
;
buf
+=
len
;
goto
undo
;
end:
buf
=
text
+
strlen
(
text
);
...
...
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