From 5aa446c961a6fdf15ff9c398751efd6ecff0c64a Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Sun, 14 Nov 2010 21:03:48 -0500 Subject: Cleanup various comparisons with the constant "true". Itagaki Takahiro, with slight modifications. --- src/backend/utils/adt/tsvector_op.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/utils/adt/tsvector_op.c') diff --git a/src/backend/utils/adt/tsvector_op.c b/src/backend/utils/adt/tsvector_op.c index 769509772a1..1920f2ad267 100644 --- a/src/backend/utils/adt/tsvector_op.c +++ b/src/backend/utils/adt/tsvector_op.c @@ -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 -- cgit v1.2.3