Commit a9c074b
committed
Silence unused variable compiler warning
Fallout from fcec6ca: mark a variable in
set_tablefunc_size_estimates as used for asserts only.
Also, the planner_rte_fetch() call is pointless with assertions
disabled, so enclose it in a USE_ASSERT_CHECKING #ifdef; fix the same
problem in set_subquery_size_estimates().
First problem noted by David Rowley, whose compiler is noisier than mine
in this regard.1 parent 895e36b commit a9c074b
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4458 | 4458 | | |
4459 | 4459 | | |
4460 | 4460 | | |
| 4461 | + | |
4461 | 4462 | | |
4462 | 4463 | | |
| 4464 | + | |
4463 | 4465 | | |
4464 | 4466 | | |
4465 | 4467 | | |
| |||
4571 | 4573 | | |
4572 | 4574 | | |
4573 | 4575 | | |
4574 | | - | |
| 4576 | + | |
4575 | 4577 | | |
4576 | 4578 | | |
4577 | 4579 | | |
| 4580 | + | |
4578 | 4581 | | |
4579 | 4582 | | |
| 4583 | + | |
4580 | 4584 | | |
4581 | 4585 | | |
4582 | 4586 | | |
| |||
0 commit comments