Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
a0fdd1a3
Commit
a0fdd1a3
authored
Nov 21, 2017
by
Uwe Schulzweida
Browse files
Fix compiler warning: '*((void *)&result+12)' is used uninitialized in this function.
parent
55fdbf7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/subtype.c
View file @
a0fdd1a3
...
...
@@ -571,6 +571,7 @@ subtype_query_t matchAND(subtype_query_t q1, subtype_query_t q2)
{
if
((
q1
.
nAND
+
q2
.
nAND
)
>
MAX_KV_PAIRS_MATCH
)
Error
(
"Internal error"
);
subtype_query_t
result
;
memset
(
&
result
,
0
,
sizeof
(
subtype_query_t
));
result
.
nAND
=
q1
.
nAND
;
for
(
int
i
=
0
;
i
<
q1
.
nAND
;
i
++
)
{
...
...
Write
Preview
Supports
Markdown
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