Fix warning: suggest parentheses around assignment used as truth value
This commit is contained in:
parent
5e1e611834
commit
ac621880a6
@ -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;
|
||||
|
Reference in New Issue
Block a user