]> git.neil.brown.name Git - git.git/commit
clean.c: use designated initializer
authorJunio C Hamano <gitster@pobox.com>
Fri, 14 Jul 2017 15:38:09 +0000 (08:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Jul 2017 15:38:09 +0000 (08:38 -0700)
commit64ed4ede2da8bd7ea953d36d8891926d49aa4d3a
tree3e05b6bd70f5cc5714e4c669e2d80b8f8ab99e0e
parentcbc0f81d96f05d8c88dd29a69d7571baa204f933
clean.c: use designated initializer

This is another test balloon to see if we get complaints from people
whose compilers do not support designated initializer for arrays.

The use of the feature is not all that interesting for cases like
the one this patch touches, where the initialized elements of the
array is dense, but it would be nice if we can use the feature to
initialize an array that has elements initialized to interesting
values only sparsely.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c