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
4a67201b
Commit
4a67201b
authored
Mar 31, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Mar 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Output NULL ref pointer check for pointer levels > 1 too.
parent
73ff5765
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
client.c
tools/widl/client.c
+1
-6
No files found.
tools/widl/client.c
View file @
4a67201b
...
@@ -105,7 +105,7 @@ static void check_pointers(const func_t *func)
...
@@ -105,7 +105,7 @@ static void check_pointers(const func_t *func)
if
(
pointer_type
==
RPC_FC_RP
)
if
(
pointer_type
==
RPC_FC_RP
)
{
{
if
(
var
->
ptr_level
=
=
1
)
if
(
var
->
ptr_level
>
=
1
)
{
{
print_client
(
"if (!%s)
\n
"
,
var
->
name
);
print_client
(
"if (!%s)
\n
"
,
var
->
name
);
print_client
(
"{
\n
"
);
print_client
(
"{
\n
"
);
...
@@ -114,11 +114,6 @@ static void check_pointers(const func_t *func)
...
@@ -114,11 +114,6 @@ static void check_pointers(const func_t *func)
indent
--
;
indent
--
;
print_client
(
"}
\n\n
"
);
print_client
(
"}
\n\n
"
);
}
}
else
if
(
var
->
ptr_level
>
1
)
{
error
(
"Pointer level %d not supported!
\n
"
,
var
->
ptr_level
);
return
;
}
}
}
var
=
PREV_LINK
(
var
);
var
=
PREV_LINK
(
var
);
...
...
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