8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Fixed warning - thanks to Dmitry

This commit is contained in:
asfernandes 2007-11-16 13:47:14 +00:00
parent 18a29c5ca2
commit 5d22a267ea

View File

@ -6249,8 +6249,10 @@ static dsql_nod* pass1_join(dsql_req* request, dsql_nod* input, bool proc_flag)
boolean = MAKE_list(matched); // Transform to USING
}
if (boolean && boolean->nod_type == nod_list) // JOIN ... USING
if (boolean) // JOIN ... USING
{
fb_assert(boolean->nod_type == nod_list);
dsql_nod* newBoolean = NULL;
StrArray usedColumns(request->req_pool);
@ -6364,8 +6366,6 @@ static dsql_nod* pass1_join(dsql_req* request, dsql_nod* input, bool proc_flag)
boolean = newBoolean;
}
else if (boolean)
fb_assert(false);
}
node->nod_arg[e_join_boolean] = PASS1_node(request, boolean, proc_flag);