commit | da218fcd9eb554a8405ca72e84bcc0feb371194f | [log] [tgz] |
---|---|---|
author | John Keeping <john@keeping.me.uk> | Sun Jan 12 17:13:49 2014 +0000 |
committer | Jason A. Donenfeld <Jason@zx2c4.com> | Sun Jan 12 20:16:33 2014 +0100 |
tree | de33d5f00820c52da33f8d56042972b6e6c5b267 | |
parent | fd31aa693077d0eea1b14a7f44ffe29503e2ad59 [diff] |
ui-snapshot: set unused cgit_filter fields to zero By switching the assignment of fields in the cgit_filter structure to use designated initializers, the compiler will initialize all other fields to their default value. This will be needed when we add the extra_args field in the next patch. Signed-off-by: John Keeping <john@keeping.me.uk>