Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
cad9648b
Commit
cad9648b
authored
Mar 22, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary mrb_get_args in fiber_switch
parent
5488da6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
mrbgems/mruby-fiber/src/fiber.c
mrbgems/mruby-fiber/src/fiber.c
+0
-1
No files found.
mrbgems/mruby-fiber/src/fiber.c
View file @
cad9648b
...
...
@@ -156,7 +156,6 @@ fiber_switch(mrb_state *mrb, mrb_value self, int len, const mrb_value *a, mrb_bo
if
(
c
->
status
==
MRB_FIBER_TERMINATED
)
{
mrb_raise
(
mrb
,
E_FIBER_ERROR
,
"resuming dead fiber"
);
}
mrb_get_args
(
mrb
,
"*"
,
&
a
,
&
len
);
mrb
->
c
->
status
=
resume
?
MRB_FIBER_RESUMING
:
MRB_FIBER_TRANSFERRED
;
c
->
prev
=
resume
?
mrb
->
c
:
(
c
->
prev
?
c
->
prev
:
mrb
->
root_c
);
if
(
c
->
status
==
MRB_FIBER_CREATED
)
{
...
...
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