pgsql: Fix possibly-uninitialized-variable warning from commit9556aa01

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix possibly-uninitialized-variable warning from commit9556aa01
Дата
Msg-id E1gn4Kc-00018f-BC@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix possibly-uninitialized-variable warning from commit 9556aa01c.

Heikki's compiler doesn't complain about end_ptr, apparently,
but mine does.

In passing, I failed to resist the temptation to remove the
no-longer-used fldnum variable, and relocate chunk_len's
declaration to a narrower scope.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6119060d01ab2dfb9e2c1c101595f2de7890965d

Modified Files
--------------
src/backend/utils/adt/varlena.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Use single-byte Boyer-Moore-Horspool search even withmultibyte
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Teach nulltestsel() that system columns are never NULL.