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:
		@@ -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";
 | 
			
		||||
	
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user