Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()
Дата
Msg-id aOfKe98emuyeB9yi@nathan
обсуждение исходный текст
Ответ на Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()
Список pgsql-hackers
On Thu, Oct 09, 2025 at 09:41:15AM -0500, Nathan Bossart wrote:
> On Thu, Oct 09, 2025 at 10:21:23AM -0400, Greg Burd wrote:
>> ‘WinGetFuncArgInPartition’:../src/backend/executor/nodeWindowAgg.c:3809:33:
>> warning:‘notnull_relpos’ may be used uninitialized
>> [-Wmaybe-uninitialized] 3809 |         } while (notnull_offset <
>> notnull_relpos);      |                  
>> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~../src/backend/executor/nodeWindowAgg.c:3723:33:
>> note: ‘notnull_relpos’was declared here 3723 |         int               
>> notnull_relpos;      |                                 ^~~~~~~~~~~~~~
> 
> Just curious, what compiler/version is this?  I skimmed the buildfarm a bit
> but didn't find any such warnings.

Looks like Tom just fixed this: https://postgr.es/c/71540dc

-- 
nathan



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