Обсуждение: Remove unused parameter form find_window_run_conditions()

Поиск
Список
Период
Сортировка

Remove unused parameter form find_window_run_conditions()

От
"Matheus Alcantara"
Дата:
Hi,

Reading find_window_run_conditions() the RangeTableEntry *rte parameter
is not being used by find_window_run_conditions() and
check_and_push_window_quals(). The attached patch remove this parameter
from both functions.

The 4be9024d573 also remove unused parameter for both functions and
after studying more these functions I founded that the RangeTableEntry
is not being used as well. I've checked the other parameters and all
seems to be used now.

--
Matheus Alcantara

Вложения

Re: Remove unused parameter form find_window_run_conditions()

От
David Rowley
Дата:
On Tue, 30 Sept 2025 at 02:23, Matheus Alcantara
<matheusssilv97@gmail.com> wrote:
> Reading find_window_run_conditions() the RangeTableEntry *rte parameter
> is not being used by find_window_run_conditions() and
> check_and_push_window_quals(). The attached patch remove this parameter
> from both functions.
>
> The 4be9024d573 also remove unused parameter for both functions and
> after studying more these functions I founded that the RangeTableEntry
> is not being used as well. I've checked the other parameters and all
> seems to be used now.

Well, I guess we'd better remove that one too. Thanks for the patch.

This time I checked the remaining ones, and it seems there are no
other unused ones this time.

Pushed.

David