Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
maestro-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maestro
maestro-core
Commits
a1ce1cb6
Commit
a1ce1cb6
authored
3 years ago
by
Ali Omar Abdelazim Mohammed
Browse files
Options
Downloads
Patches
Plain Diff
a couple of asserts to silience unsued parameters
parent
f67afdb3
No related branches found
No related tags found
1 merge request
!27
Resolve "memory leak in async code"
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
maestro/pool.c
+3
-0
3 additions, 0 deletions
maestro/pool.c
with
3 additions
and
0 deletions
maestro/pool.c
+
3
−
0
View file @
a1ce1cb6
...
...
@@ -1272,6 +1272,7 @@ mstro_status
mstro_pool__demand_async_no_pm
(
mstro_cdo
cdo
,
mstro_cdo_state
new_state
)
{
assert
(
MSTRO_CDO_STATE_DEMANDED
==
new_state
);
// increase waiters by one
return
mstro_pool_cdo_waiters
(
cdo
,
1
);
}
...
...
@@ -1706,6 +1707,8 @@ mstro_pool__demand_async_with_pm(mstro_cdo cdo, mstro_cdo_state new_state)
{
mstro_status
status
=
MSTRO_UNIMPL
;
assert
(
MSTRO_CDO_STATE_DEMANDED
==
new_state
);
/* tell pool manager it's urgent now */
/* that will eventually kick off a transport occuring and filling in
* a CDO OFFER that can be used to satisfy this demand. We'll be
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment