Init a possibly uninitialized variable

This commit is contained in:
Pasi Kallinen
2024-04-11 18:52:51 +03:00
parent f1c77aa2fd
commit 7cf7fe3c9b

View File

@@ -3305,7 +3305,7 @@ rhack(int key)
gc.context.travel = gc.context.travel1 = 0;
{
const struct ext_func_tab *tlist;
int res, (*func)(void);
int res, (*func)(void) = NULL;
do_cmdq_extcmd:
if (cmdq_ec)