pretty.c: inline initalize format_context
commit3e8ed3b93e9b46eb6fe61589482751728865de57
authorDenton Liu <liu.denton@gmail.com>
Wed, 20 Nov 2019 00:51:16 +0000 (19 16:51 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Nov 2019 04:33:36 +0000 (20 13:33 +0900)
treed29ea483712d625311bc315c12197e5cb10be08c
parent4982516451ed4979bc7fc1a7f002fc310b060118
pretty.c: inline initalize format_context

Instead of memsetting and then initializing the fields in the struct,
move the initialization of `format_context` to its assignment.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pretty.c