Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmp_tool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Loidolt
cmp_tool
Commits
17fd4592
Commit
17fd4592
authored
1 year ago
by
Dominik Loidolt
Browse files
Options
Downloads
Patches
Plain Diff
Fix may be used uninitialized warning
parent
68f9c640
No related branches found
No related tags found
1 merge request
!34
Update cmp_tool to version v0.13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
programs/cmp_tool.c
+2
-2
2 additions, 2 deletions
programs/cmp_tool.c
with
2 additions
and
2 deletions
programs/cmp_tool.c
+
2
−
2
View file @
17fd4592
...
...
@@ -156,7 +156,7 @@ int main(int argc, char **argv)
/* buffer containing the read in model */
uint16_t
*
input_model_buf
=
NULL
;
/* size of the data to be compressed and the model of it */
uint32_t
input_size
;
uint32_t
input_size
=
0
;
struct
cmp_info
info
=
{
0
};
/* decompression information struct */
struct
cmp_cfg
cfg
=
{
0
};
/* compressor configuration struct */
...
...
@@ -750,7 +750,7 @@ static int compression_of_chunk(void *chunk, uint32_t size, void *model, struct
uint32_t
bound
=
compress_chunk_cmp_size_bound
(
chunk
,
size
);
uint32_t
*
cmp_data
;
uint32_t
cmp_size
;
int
error
;
int
error
=
0
;
compress_chunk_init
(
&
return_timestamp
,
cmp_tool_gen_version_id
(
CMP_TOOL_VERSION
));
...
...
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