fix a set but not used warning and cleanup some old code from 2007
fix a set but not used warning and cleanup some old code from 2007

UB-Mannheim/tesseract,jbarlow83/tesseract,tesseract-ocr/tesseract,tesseract-ocr/tesseract,stweil/tesseract,stweil/tesseract,tesseract-ocr/tesseract,tesseract-ocr/tesseract,jbarlow83/tesseract,UB-Mannheim/tesseract,jbarlow83/tesseract,amitdo/tesseract,stweil/tesseract,tesseract-ocr/tesseract,jbarlow83/tesseract,UB-Mannheim/tesseract,jbarlow83/tesseract,amitdo/tesseract,stweil/tesseract,UB-Mannheim/tesseract,amitdo/tesseract,stweil/tesseract,UB-Mannheim/tesseract,amitdo/tesseract,amitdo/tesseract