summaryrefslogtreecommitdiffstats
path: root/redhat/extras/htdig/patches/drop-bogus-assignment
blob: 2328280e3174e6f906e693d3375b97c43d9ccc61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- htdig-3.2.0b6.orig/htdig/Parsable.cc
+++ htdig-3.2.0b6/htdig/Parsable.cc
@@ -74,7 +74,6 @@ Parsable::addString(Retriever& retriever
 	    retriever.got_word(w, wordindex++, slot); // slot for img_alt
 	w = HtWordToken(0);
     }
-    w = '\0';
 }
 
 //*****************************************************************************
@@ -92,5 +91,4 @@ Parsable::addKeywordString(Retriever& re
 	    retriever.got_word(w, wordindex++, 9);
 	w = HtWordToken(0);
     }
-    w = '\0';
 }