Mercurial > hg > forks > libbpg
changeset 16:86b6c976ef2d
Fix some warnings by adding missing field initializers for long opts.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 26 Apr 2017 18:19:18 +0300 |
parents | 29527d65b71a |
children | 91f27e9fdb60 |
files | bpgenc.c |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/bpgenc.c Sun Dec 18 10:52:06 2016 +0200 +++ b/bpgenc.c Wed Apr 26 18:19:18 2017 +0300 @@ -2930,16 +2930,16 @@ } struct option long_opts[] = { - { "hash", no_argument }, - { "keepmetadata", no_argument }, - { "alphaq", required_argument }, - { "lossless", no_argument }, - { "limitedrange", no_argument }, - { "premul", no_argument }, - { "loop", required_argument }, - { "fps", required_argument }, - { "delayfile", required_argument }, - { NULL }, + { "hash" , no_argument , NULL, 0 }, + { "keepmetadata" , no_argument , NULL, 0 }, + { "alphaq" , required_argument , NULL, 0 }, + { "lossless" , no_argument , NULL, 0 }, + { "limitedrange" , no_argument , NULL, 0 }, + { "premul" , no_argument , NULL, 0 }, + { "loop" , required_argument , NULL, 0 }, + { "fps" , required_argument , NULL, 0 }, + { "delayfile" , required_argument , NULL, 0 }, + { NULL , 0 , NULL, 0 }, }; int main(int argc, char **argv)