GSSAPI: generate full NULL structure initializers in gen-oid.pl

As seen in commit cc47c8fa7 (Roland C. Dowdeswell <elric@imrryr.org>,
"Turn on -Wextra -Wno-sign-compare -Wno-unused-paramter and fix
issues"), compilers can be persuaded to dislike a single {NULL} and
prefer {NULL, NULL, NULL, NULL}. That patch altered the C code
directly; here we change the generating file to match.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Douglas Bagnall
2015-07-31 14:45:22 +12:00
parent 0c36f11f17
commit 0d31145e9d

View File

@@ -130,7 +130,7 @@ foreach my $k (sort keys %types) {
printf " { %s, \"%s\", %s, %s },\n", $$m->{oid}, $$m->{oid}, $$m->{short}, $$m->{long};
}
}
printf " { NULL }\n";
printf " { NULL, NULL, NULL, NULL }\n";
printf "};\n\n";
}