At patchlevel 9.1.1301, compile warning in insexpand.c in Normal and Huge but not Tiny

8 views
Skip to first unread message

Tony Mechelynck

unread,
Apr 14, 2025, 6:33:38 PM4/14/25
to cbl...@256bit.org, vim...@googlegroups.com
In function ‘cpt_compl_refresh’,
inlined from ‘ins_compl_new_leader’ at insexpand.c:2218:6:
insexpand.c:6450:16: warning: ‘cb’ may be used uninitialized
[-Wmaybe-uninitialized]
6450 | if (cb)
| ^
insexpand.c: In function ‘ins_compl_new_leader’:
insexpand.c:6430:18: note: ‘cb’ was declared here
6430 | callback_T *cb;
| ^~


The above happened with gcc 14.2.1 20250220.

Best regards,
Tony.

Christian Brabandt

unread,
Apr 15, 2025, 12:12:08 PM4/15/25
to vim...@googlegroups.com
You are faster than Coverity ;)

Will be fixed in v9.1.1302

Thanks,
Chris
--
If you live long enough, you'll see that every victory turns into a defeat.
-- Simone de Beauvoir
Reply all
Reply to author
Forward
0 new messages