Bug #5958: Also zero out the implicit pad byte in empty requests.

This commit is contained in:
Jamey Sharp 2006-11-19 21:48:27 -08:00
parent 3fa50020d2
commit 3d9bb02012

View File

@ -722,6 +722,10 @@ authorization from the authors.
<l><xsl:value-of select="@ref" /> xcb_out;</l>
<l />
<xsl:if test="not ($ext) and not($struct//*[(self::field or self::exprfield or self::pad)
and not(boolean(@no-assign))])">
<l>xcb_out.pad0 = 0;</l>
</xsl:if>
<xsl:apply-templates select="$struct//*[(self::field or self::exprfield or self::pad)
and not(boolean(@no-assign))]"
mode="assign" />