mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Cleanup various comparisons with the constant "true".
Itagaki Takahiro, with slight modifications.
This commit is contained in:
@ -625,7 +625,7 @@ checkcondition_str(void *checkval, QueryOperand *val)
|
||||
StopHigh = StopMiddle;
|
||||
}
|
||||
|
||||
if (res == false && val->prefix == true)
|
||||
if (!res && val->prefix)
|
||||
{
|
||||
/*
|
||||
* there was a failed exact search, so we should scan further to find
|
||||
|
Reference in New Issue
Block a user