Browse Source

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.
wip/maildir-path-under-inbox
Oswald Buddenhagen 3 years ago
parent
commit
f5d234ffa1
  1. 2
      src/drv_proxy_gen.pl

2
src/drv_proxy_gen.pl

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

Loading…
Cancel
Save