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
8d142cb1
Commit
8d142cb1
authored
Mar 28, 2023
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Use separate statements instead of the comma operator.
parent
4af8f423
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dispex.c
dlls/jscript/dispex.c
+3
-3
No files found.
dlls/jscript/dispex.c
View file @
8d142cb1
...
...
@@ -804,7 +804,7 @@ HRESULT gc_run(script_ctx_t *ctx)
}
while
(
head
);
return
E_OUTOFMEMORY
;
}
chunk
=
chunk
->
next
,
chunk_idx
=
0
;
chunk
=
chunk
->
next
;
chunk_idx
=
0
;
chunk
->
next
=
NULL
;
}
chunk
->
ref
[
chunk_idx
++
]
=
obj
->
ref
;
...
...
@@ -901,13 +901,13 @@ HRESULT gc_run(script_ctx_t *ctx)
free
(
gc_ctx
.
next
);
/* Restore */
chunk
=
head
,
chunk_idx
=
0
;
chunk
=
head
;
chunk_idx
=
0
;
LIST_FOR_EACH_ENTRY
(
obj
,
&
ctx
->
objects
,
jsdisp_t
,
entry
)
{
obj
->
ref
=
chunk
->
ref
[
chunk_idx
++
];
if
(
chunk_idx
==
ARRAY_SIZE
(
chunk
->
ref
))
{
struct
chunk
*
next
=
chunk
->
next
;
free
(
chunk
);
chunk
=
next
,
chunk_idx
=
0
;
chunk
=
next
;
chunk_idx
=
0
;
}
}
free
(
chunk
);
...
...
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