simplify an initialization in proxy driver code generator

the 'checked' hash entry doesn't exist yet at that point, so it's always
undefined.

amends 4423a932.
This commit is contained in:
Oswald Buddenhagen 2022-05-04 21:29:02 +02:00
parent 5c44732fd9
commit f5d234ffa1

View File

@ -155,7 +155,7 @@ for (@ptypes) {
$replace{'GEN_CMD'} = "GEN_CMD\n"; $replace{'GEN_CMD'} = "GEN_CMD\n";
$replace{'gen_cmd'} = "&cmd->gen"; $replace{'gen_cmd'} = "&cmd->gen";
} }
$replace{'checked'} //= '0'; $replace{'checked'} = '0';
$template = "CALLBACK"; $template = "CALLBACK";
} elsif ($cmd_type eq "void ") { } elsif ($cmd_type eq "void ") {
$template = "REGULAR_VOID"; $template = "REGULAR_VOID";