You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by lo...@apache.org on 2011/12/07 04:27:50 UTC
[lucy-commits] svn commit: r1211282 -
/incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c
Author: logie
Date: Wed Dec 7 03:27:49 2011
New Revision: 1211282
URL: http://svn.apache.org/viewvc?rev=1211282&view=rev
Log:
Fixing my simulated failure.
Modified:
incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c
Modified: incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c?rev=1211282&r1=1211281&r2=1211282&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c (original)
+++ incubator/lucy/trunk/core/Lucy/Highlight/Highlighter.c Wed Dec 7 03:27:49 2011
@@ -624,7 +624,7 @@ S_do_encode(Highlighter *self, CharBuf *
static CharBuf*
S_encode_entities(CharBuf *text, CharBuf *encoded) {
ZombieCharBuf *temp = ZCB_WRAP(text);
- size_t space =
+ size_t space = 0;
const int MAX_ENTITY_BYTES = 9; // &#dddddd;
// Scan first so that we only allocate once.