Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
cellframe
cellframe-sdk
Commits
3a41b674
Commit
3a41b674
authored
1 year ago
by
Roman Khlopkov
🔜
Browse files
Options
Downloads
Patches
Plain Diff
[*] Build fix
parent
8698f900
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/type/dag/dap_chain_cs_dag.c
+2
-2
2 additions, 2 deletions
modules/type/dag/dap_chain_cs_dag.c
with
2 additions
and
2 deletions
modules/type/dag/dap_chain_cs_dag.c
+
2
−
2
View file @
3a41b674
...
@@ -665,7 +665,7 @@ static bool s_chain_callback_datums_pool_proc(dap_chain_t *a_chain, dap_chain_da
...
@@ -665,7 +665,7 @@ static bool s_chain_callback_datums_pool_proc(dap_chain_t *a_chain, dap_chain_da
size_t
l_hashes_size
=
l_dag
->
is_single_line
?
1
:
l_dag
->
datum_add_hashes_count
,
size_t
l_hashes_size
=
l_dag
->
is_single_line
?
1
:
l_dag
->
datum_add_hashes_count
,
l_hashes_linked
=
0
;
l_hashes_linked
=
0
;
if
(
!
l_hashes_size
)
{
if
(
!
l_hashes_size
)
{
log_it
(
L_ERROR
,
"Configuration mismatch, no hashed to be linked"
,
l_datum_hash_str
);
log_it
(
L_ERROR
,
"Configuration mismatch, no hashed to be linked"
);
return
false
;
return
false
;
}
}
dap_chain_hash_fast_t
*
l_hashes
=
l_hashes_size
dap_chain_hash_fast_t
*
l_hashes
=
l_hashes_size
...
@@ -681,7 +681,7 @@ static bool s_chain_callback_datums_pool_proc(dap_chain_t *a_chain, dap_chain_da
...
@@ -681,7 +681,7 @@ static bool s_chain_callback_datums_pool_proc(dap_chain_t *a_chain, dap_chain_da
if
(
!
HASH_COUNT
(
PVT
(
l_dag
)
->
events_lasts_unlinked
))
{
if
(
!
HASH_COUNT
(
PVT
(
l_dag
)
->
events_lasts_unlinked
))
{
pthread_mutex_unlock
(
&
PVT
(
l_dag
)
->
events_mutex
);
pthread_mutex_unlock
(
&
PVT
(
l_dag
)
->
events_mutex
);
log_it
(
L_INFO
,
"Nothing to link"
);
log_it
(
L_INFO
,
"Nothing to link"
);
if
(
!
l
_seed_mode
)
if
(
!
s
_seed_mode
)
return
false
;
return
false
;
}
else
{
}
else
{
/* We'll use modification-safe iteration thru the additional hashtable thus the chosen events will not repeat */
/* We'll use modification-safe iteration thru the additional hashtable thus the chosen events will not repeat */
...
...
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