Fix warning: suggest parentheses around assignment used as truth value

This commit is contained in:
Stas Degteff 2006-09-01 12:12:08 +00:00
parent 5e1e611834
commit ac621880a6

View File

@ -257,7 +257,7 @@ int HashMgr::load_tables(const char * tpath)
// "\/" signs slash in words (not affix separator)
// "/" at beginning of the line is word character (not affix separator)
ap = ts;
while (ap = strchr(ap,'/')) {
while ((ap = strchr(ap,'/'))) {
if (ap == ts) {
ap++;
continue;