Commit a0fdd1a3 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix compiler warning: '*((void *)&result+12)' is used uninitialized in this function.

parent 55fdbf7e
......@@ -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++)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment