Skip to content

Commit

Permalink
removed unnecessary alias type lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
swilly22 committed Jun 4, 2024
1 parent a5b3db3 commit cd750f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ast/ast_validations.c
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,6 @@ static VISITOR_STRATEGY _Validate_rel_pattern

if(alias_node) {
const char *alias = cypher_ast_identifier_get_name(alias_node);
void *alias_type = _IdentifiersFind(vctx, alias);

// edge can not be redeclared
if(_IdentifierAdd(vctx, alias, (void*)T_EDGE) == 0) {
ErrorCtx_SetError(EMSG_EDGE_REDECLARATION, alias);
Expand Down

0 comments on commit cd750f2

Please sign in to comment.