Commit 3bc76576 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Revert commit ae1791b0 and correctly…

dbghelp: Revert commit ae1791b0 and correctly fix what this patch was trying to do.
parent 5ccf6a33
......@@ -792,10 +792,9 @@ static inline int stabs_pts_read_array(struct ParseTypedefData* ptd,
static int stabs_pts_read_type_def(struct ParseTypedefData* ptd, const char* typename,
struct symt** ret_dt)
{
static struct symt null_dt = {SymTagNull};
int idx;
long sz = -1;
struct symt* new_dt = &null_dt; /* newly created data type */
struct symt* new_dt = NULL; /* newly created data type */
struct symt* ref_dt; /* referenced data type (pointer...) */
long filenr1, subnr1, tmp;
......@@ -808,7 +807,7 @@ static int stabs_pts_read_type_def(struct ParseTypedefData* ptd, const char* typ
while (*ptd->ptr == '=')
{
ptd->ptr++;
PTS_ABORTIF(ptd, new_dt->tag != SymTagNull);
PTS_ABORTIF(ptd, new_dt != NULL);
/* first handle attribute if any */
switch (*ptd->ptr)
......
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