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:
parent
5c44732fd9
commit
f5d234ffa1
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user