diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-11-20 00:51:16 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-20 04:33:36 (GMT) |
commit | 3e8ed3b93e9b46eb6fe61589482751728865de57 (patch) | |
tree | d29ea483712d625311bc315c12197e5cb10be08c /revision.h | |
parent | 4982516451ed4979bc7fc1a7f002fc310b060118 (diff) | |
download | git-3e8ed3b93e9b46eb6fe61589482751728865de57.zip git-3e8ed3b93e9b46eb6fe61589482751728865de57.tar.gz git-3e8ed3b93e9b46eb6fe61589482751728865de57.tar.bz2 |
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>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions