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
c818a4e6
Commit
c818a4e6
authored
Sep 21, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "empty body in an if/else-statement" warnings.
parent
6dc30918
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
8 deletions
+20
-8
time.c
dlls/ntdll/time.c
+1
-1
typelib.c
dlls/oleaut32/typelib.c
+16
-4
text.c
dlls/user/text.c
+2
-2
winemenubuilder.c
programs/winemenubuilder/winemenubuilder.c
+1
-1
No files found.
dlls/ntdll/time.c
View file @
c818a4e6
...
...
@@ -888,7 +888,7 @@ static int TIME_GetTimeZoneInfoFromReg(RTL_TIME_ZONE_INFORMATION *tzinfo)
if (!NtQueryValueKey( hkey, &nameW, KeyValuePartialInformation, KpInfo,\
sizeof(buf), &size )) { \
if( size >= (sizeof((tofield)) + \
offsetof(KEY_VALUE_PARTIAL_INFORMATION,Data)))
;
{ \
offsetof(KEY_VALUE_PARTIAL_INFORMATION,Data))) { \
memcpy(&(tofield), \
KpInfo->Data, sizeof(tofield)); \
} \
...
...
dlls/oleaut32/typelib.c
View file @
c818a4e6
...
...
@@ -3687,16 +3687,25 @@ static HRESULT WINAPI ITypeLib2_fnGetDocumentation(
if
(
pBstrName
)
{
if
(
This
->
Name
)
if
(
!
(
*
pBstrName
=
SysAllocString
(
This
->
Name
)))
goto
memerr1
;
else
;
{
if
(
!
(
*
pBstrName
=
SysAllocString
(
This
->
Name
)))
goto
memerr1
;
}
else
*
pBstrName
=
NULL
;
}
if
(
pBstrDocString
)
{
if
(
This
->
DocString
)
if
(
!
(
*
pBstrDocString
=
SysAllocString
(
This
->
DocString
)))
goto
memerr2
;
else
;
{
if
(
!
(
*
pBstrDocString
=
SysAllocString
(
This
->
DocString
)))
goto
memerr2
;
}
else
if
(
This
->
Name
)
if
(
!
(
*
pBstrDocString
=
SysAllocString
(
This
->
Name
)))
goto
memerr2
;
else
;
{
if
(
!
(
*
pBstrDocString
=
SysAllocString
(
This
->
Name
)))
goto
memerr2
;
}
else
*
pBstrDocString
=
NULL
;
}
...
...
@@ -3707,7 +3716,10 @@ static HRESULT WINAPI ITypeLib2_fnGetDocumentation(
if
(
pBstrHelpFile
)
{
if
(
This
->
HelpFile
)
if
(
!
(
*
pBstrHelpFile
=
SysAllocString
(
This
->
HelpFile
)))
goto
memerr3
;
else
;
{
if
(
!
(
*
pBstrHelpFile
=
SysAllocString
(
This
->
HelpFile
)))
goto
memerr3
;
}
else
*
pBstrHelpFile
=
NULL
;
}
...
...
dlls/user/text.c
View file @
c818a4e6
...
...
@@ -472,9 +472,10 @@ static void TEXT_SkipChars (int *new_count, const WCHAR **new_str,
assert
(
max
>=
n
);
max
-=
n
;
while
(
n
--
)
{
if
(
*
start_str
++
==
PREFIX
&&
max
--
)
start_str
++
;
else
;
}
start_count
-=
(
start_str
-
str_on_entry
);
}
else
...
...
@@ -532,7 +533,6 @@ static int TEXT_Reprefix (const WCHAR *str, unsigned int ns,
str
++
;
ns
--
;
}
else
;
i
++
;
}
return
result
;
...
...
programs/winemenubuilder/winemenubuilder.c
View file @
c818a4e6
...
...
@@ -776,7 +776,7 @@ static BOOL InvokeShellLinker( IShellLinkW *sl, LPCWSTR link, BOOL bAgain )
{
LPITEMIDLIST
pidl
=
NULL
;
IShellLinkW_GetIDList
(
sl
,
&
pidl
);
if
(
pidl
&&
SHGetPathFromIDListW
(
pidl
,
szPath
)
)
;
if
(
pidl
&&
SHGetPathFromIDListW
(
pidl
,
szPath
)
)
WINE_TRACE
(
"pidl path : %s
\n
"
,
wine_dbgstr_w
(
szPath
));
}
...
...
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