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)
|
// "\/" signs slash in words (not affix separator)
|
||||||
// "/" at beginning of the line is word character (not affix separator)
|
// "/" at beginning of the line is word character (not affix separator)
|
||||||
ap = ts;
|
ap = ts;
|
||||||
while (ap = strchr(ap,'/')) {
|
while ((ap = strchr(ap,'/'))) {
|
||||||
if (ap == ts) {
|
if (ap == ts) {
|
||||||
ap++;
|
ap++;
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user