Avoided excess errors in incomplete struct assignment.
This commit is contained in:
@@ -107,13 +107,13 @@ static int CopyStruct (ExprDesc* LExpr, ExprDesc* RExpr)
|
|||||||
g_push (CF_PTR | CF_UNSIGNED, 0);
|
g_push (CF_PTR | CF_UNSIGNED, 0);
|
||||||
|
|
||||||
/* Load the size of the struct or union into the primary */
|
/* Load the size of the struct or union into the primary */
|
||||||
g_getimmed (CF_INT | CF_UNSIGNED | CF_CONST, CheckedSizeOf (ltype), 0);
|
g_getimmed (CF_INT | CF_UNSIGNED | CF_CONST, SizeOf (ltype), 0);
|
||||||
|
|
||||||
/* Call the memcpy function */
|
/* Call the memcpy function */
|
||||||
g_call (CF_FIXARGC, Func_memcpy, 4);
|
g_call (CF_FIXARGC, Func_memcpy, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user