summaryrefslogtreecommitdiffstatshomepage
path: root/cgit.h
diff options
context:
space:
mode:
authorJohn Keeping2014-01-12 17:13:49 +0000
committerJason A. Donenfeld2014-01-12 20:16:33 +0100
commitda218fcd9eb554a8405ca72e84bcc0feb371194f (patch)
treede33d5f00820c52da33f8d56042972b6e6c5b267 /cgit.h
parentfd31aa693077d0eea1b14a7f44ffe29503e2ad59 (diff)
downloadcgit-da218fcd9eb554a8405ca72e84bcc0feb371194f.tar
cgit-da218fcd9eb554a8405ca72e84bcc0feb371194f.tar.gz
cgit-da218fcd9eb554a8405ca72e84bcc0feb371194f.zip
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>
Diffstat (limited to 'cgit.h')
0 files changed, 0 insertions, 0 deletions
id='n125' href='#n125'>125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157