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

Ensure the variables are initialized before usage (even if they're only printed)

This commit is contained in:
Dmitry Yemanov 2022-02-10 09:43:41 +03:00
parent 87c8d493cf
commit 7485bad77b

View File

@ -289,7 +289,7 @@ void InnerJoin::findBestOrder(unsigned position,
streamFlags.add(innerStream->used);
// Compute delta and total estimate cost to fetch this stream
double position_cost, position_cardinality, new_cost = 0, new_cardinality = 0;
double position_cost = 0, position_cardinality = 0, new_cost = 0, new_cardinality = 0;
if (!plan)
{