diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl index e9dc8e27d7..085e2a29d8 100755 --- a/src/rpc/gendispatch.pl +++ b/src/rpc/gendispatch.pl @@ -1330,7 +1330,7 @@ elsif ($mode eq "client") { if ($argtype eq "void") { $call_args = "NULL"; } else { - push(@vars_list, "$argtype args"); + push(@vars_list, "$argtype args = {0}"); my $is_first_arg = 1; my $has_node_device = 0;