Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
91f533e4
Commit
91f533e4
authored
May 31, 2016
by
Pedro Gonnet
Browse files
no need to clear the task buffer, all these values are overwritten in scheduler_addtask anyway.
parent
52ccd88c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scheduler.c
View file @
91f533e4
...
...
@@ -853,9 +853,6 @@ void scheduler_reset(struct scheduler *s, int size) {
error
(
"Failed to allocate task lists."
);
}
/* Reset the task data. */
bzero
(
s
->
tasks
,
sizeof
(
struct
task
)
*
size
);
/* Reset the counters. */
s
->
size
=
size
;
s
->
nr_tasks
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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