summaryrefslogtreecommitdiff
path: root/src/c-client.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/c-client.xsl')
-rw-r--r--src/c-client.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c-client.xsl b/src/c-client.xsl
index 8b951cb..5df5762 100644
--- a/src/c-client.xsl
+++ b/src/c-client.xsl
@@ -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" />