Commit 7cf7421e authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

d3dxof: Initialize binary member variable of xobjects.

parent 8cae5c23
...@@ -1229,6 +1229,7 @@ _exit: ...@@ -1229,6 +1229,7 @@ _exit:
buf->pxo->childs[buf->pxo->nb_childs] = &buf->pxo_tab[buf->pxo->root->nb_subobjects++]; buf->pxo->childs[buf->pxo->nb_childs] = &buf->pxo_tab[buf->pxo->root->nb_subobjects++];
buf->pxo->childs[buf->pxo->nb_childs]->ptarget = &(buf->pxo_globals[i])[j]; buf->pxo->childs[buf->pxo->nb_childs]->ptarget = &(buf->pxo_globals[i])[j];
buf->pxo->childs[buf->pxo->nb_childs]->binary = FALSE;
buf->pxo->nb_childs++; buf->pxo->nb_childs++;
} }
else if (check_TOKEN(buf) == TOKEN_NAME) else if (check_TOKEN(buf) == TOKEN_NAME)
...@@ -1274,6 +1275,7 @@ BOOL parse_object(parse_buffer * buf) ...@@ -1274,6 +1275,7 @@ BOOL parse_object(parse_buffer * buf)
buf->pxo->pos_data = buf->cur_pos_data; buf->pxo->pos_data = buf->cur_pos_data;
buf->pxo->ptarget = NULL; buf->pxo->ptarget = NULL;
buf->pxo->binary = FALSE;
buf->pxo->root = buf->pxo_tab; buf->pxo->root = buf->pxo_tab;
if (get_TOKEN(buf) != TOKEN_NAME) if (get_TOKEN(buf) != TOKEN_NAME)
......
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