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
1c13e622
Commit
1c13e622
authored
Sep 09, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove asserts on invalid parameters.
parent
f0d17b5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
assoc.c
dlls/shell32/assoc.c
+0
-6
No files found.
dlls/shell32/assoc.c
View file @
1c13e622
...
...
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include <assert.h>
#define COBJMACROS
#include "windef.h"
...
...
@@ -224,7 +223,6 @@ static HRESULT ASSOC_GetValue(HKEY hkey, const WCHAR *name, void **data, DWORD *
DWORD
size
;
LONG
ret
;
assert
(
data
);
ret
=
RegQueryValueExW
(
hkey
,
name
,
0
,
NULL
,
NULL
,
&
size
);
if
(
ret
!=
ERROR_SUCCESS
)
return
HRESULT_FROM_WIN32
(
ret
);
...
...
@@ -337,8 +335,6 @@ static HRESULT ASSOC_GetExecutable(IQueryAssociationsImpl *This,
WCHAR
*
pszEnd
;
HRESULT
hr
;
assert
(
len
);
hr
=
ASSOC_GetCommand
(
This
,
pszExtra
,
&
pszCommand
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -376,8 +372,6 @@ static HRESULT ASSOC_GetExecutable(IQueryAssociationsImpl *This,
static
HRESULT
ASSOC_ReturnData
(
void
*
out
,
DWORD
*
outlen
,
const
void
*
data
,
DWORD
datalen
)
{
assert
(
outlen
);
if
(
out
)
{
if
(
*
outlen
<
datalen
)
...
...
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