Skip to content

Commit cbbea14

Browse files
author
Ekaterina Sokolova
committed
[PGPRO-9837] Remove unreachable code.
Tags: jsquery.
1 parent a4c1042 commit cbbea14

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

jsquery_extract.c

-4
Original file line numberDiff line numberDiff line change
@@ -873,8 +873,6 @@ execRecursiveTristate(ExtractedNode *node, GinTernaryValue *check)
873873
v = execRecursiveTristate(node->args.items[i], check);
874874
if (v == GIN_FALSE)
875875
return GIN_FALSE;
876-
else if (v == GIN_MAYBE)
877-
res = GIN_MAYBE;
878876
}
879877
return res;
880878
case eOr:
@@ -884,8 +882,6 @@ execRecursiveTristate(ExtractedNode *node, GinTernaryValue *check)
884882
v = execRecursiveTristate(node->args.items[i], check);
885883
if (v == GIN_TRUE)
886884
return GIN_TRUE;
887-
else if (v == GIN_MAYBE)
888-
res = GIN_MAYBE;
889885
}
890886
return res;
891887
default:

0 commit comments

Comments
 (0)