]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-snapshot: set unused cgit_filter fields to zero
authorJohn Keeping <john@keeping.me.uk>
Sun, 12 Jan 2014 17:13:49 +0000 (17:13 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 12 Jan 2014 19:16:33 +0000 (20:16 +0100)
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>

No differences found