Skip to content

Remove unreachable code. #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[PGPRO-9837] Remove unreachable code.
Tags: jsquery.
  • Loading branch information
Ekaterina Sokolova committed Mar 7, 2024
commit cbbea144ba3c87b4266409cf1c5f4d5a3d7e0470
4 changes: 0 additions & 4 deletions jsquery_extract.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,8 +873,6 @@ execRecursiveTristate(ExtractedNode *node, GinTernaryValue *check)
v = execRecursiveTristate(node->args.items[i], check);
if (v == GIN_FALSE)
return GIN_FALSE;
else if (v == GIN_MAYBE)
res = GIN_MAYBE;
}
return res;
case eOr:
Expand All @@ -884,8 +882,6 @@ execRecursiveTristate(ExtractedNode *node, GinTernaryValue *check)
v = execRecursiveTristate(node->args.items[i], check);
if (v == GIN_TRUE)
return GIN_TRUE;
else if (v == GIN_MAYBE)
res = GIN_MAYBE;
}
return res;
default:
Expand Down