]> git.notmuchmail.org Git - notmuch/commit
cli: use designated initializer to initialize add_files_state
authorJani Nikula <jani@nikula.org>
Fri, 25 Sep 2015 18:47:35 +0000 (21:47 +0300)
committerDavid Bremner <david@tethera.net>
Tue, 29 Sep 2015 11:25:25 +0000 (08:25 -0300)
commit847792ec29709f3d3c0e94cdd22b60a253e6de8a
tree02cf3be3928e44179118109b90e7b87fbca0ceb5
parent8b35b8f71aec56232a3d305aff6cf315bf31331e
cli: use designated initializer to initialize add_files_state

The side effect is that all of add_files_state will be initialized to
zero, removing any lingering doubt that some of it might not be
initialized. It's not a small struct, and the initialization is
scattered around a bit, so this makes the code more readable.
notmuch-new.c