Commit 3959a05e authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Silence a warning

When the test compiler compiles an empty =<handful/>= tag, then the
iterator /i/ is not used.
parent b91f98ec
......@@ -158,7 +158,7 @@ along with this program. If not, see <>.
<xsl:template match="tarot:handful" mode="game">
<xsl:text>&#xA; {&#xA; TarotCard cards[</xsl:text>
<xsl:value-of select="count(tarot:card)" />
<xsl:text>];&#xA; size_t i = 0;</xsl:text>
<xsl:text>];&#xA; size_t i = 0;&#xA; (void) i;</xsl:text>
<xsl:for-each select="tarot:card">
<xsl:text>&#xA; cards[i] = tarot_string_to_card_c (&quot;</xsl:text>
<xsl:value-of select="@card" />
Supports Markdown
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