From 4aa007205043280d89301c8a7c2444682625df6d Mon Sep 17 00:00:00 2001 From: Christopher Wellons Date: Fri, 3 Mar 2017 20:53:29 -0500 Subject: [PATCH] Make Clang warnings go away. --- enchive.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/enchive.c b/enchive.c index 73d4a51..841307e 100755 --- a/enchive.c +++ b/enchive.c @@ -502,7 +502,7 @@ command_keygen(struct optparse *options) {"derive", 'd', OPTPARSE_NONE}, {"force", 'f', OPTPARSE_NONE}, {"plain", 'u', OPTPARSE_NONE}, - {0} + {0, 0, 0} }; char *pubfile = global_pubkey; @@ -563,7 +563,7 @@ command_archive(struct optparse *options) { static const struct optparse_long archive[] = { {"delete", 'd', OPTPARSE_NONE}, - {0} + {0, 0, 0} }; char *infile; @@ -643,7 +643,7 @@ command_extract(struct optparse *options) { static const struct optparse_long extract[] = { {"delete", 'd', OPTPARSE_NONE}, - {0} + {0, 0, 0} }; char *infile; @@ -719,7 +719,7 @@ static void command_help(struct optparse *options) { static const struct optparse_long help[] = { - {0} + {0, 0, 0} }; char *command; @@ -769,7 +769,7 @@ main(int argc, char **argv) {"random-device", 'r', OPTPARSE_REQUIRED}, {"pubkey", 'p', OPTPARSE_REQUIRED}, {"seckey", 's', OPTPARSE_REQUIRED}, - {0} + {0, 0, 0} }; int option;