mirror of
https://github.com/postgres/postgres.git
synced 2025-09-09 13:09:39 +03:00
Cleanup various comparisons with the constant "true".
Itagaki Takahiro, with slight modifications.
This commit is contained in:
@@ -109,7 +109,7 @@ find_wordentry(TSVector t, TSQuery q, QueryOperand *item, int32 *nitem)
|
||||
StopHigh = StopMiddle;
|
||||
}
|
||||
|
||||
if (item->prefix == true)
|
||||
if (item->prefix)
|
||||
{
|
||||
if (StopLow >= StopHigh)
|
||||
StopMiddle = StopHigh;
|
||||
|
Reference in New Issue
Block a user