mirror of https://github.com/skeeto/enchive.git
Make Clang warnings go away.
parent
1716985257
commit
4aa0072050
10
enchive.c
10
enchive.c
|
@ -502,7 +502,7 @@ command_keygen(struct optparse *options)
|
||||||
{"derive", 'd', OPTPARSE_NONE},
|
{"derive", 'd', OPTPARSE_NONE},
|
||||||
{"force", 'f', OPTPARSE_NONE},
|
{"force", 'f', OPTPARSE_NONE},
|
||||||
{"plain", 'u', OPTPARSE_NONE},
|
{"plain", 'u', OPTPARSE_NONE},
|
||||||
{0}
|
{0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
char *pubfile = global_pubkey;
|
char *pubfile = global_pubkey;
|
||||||
|
@ -563,7 +563,7 @@ command_archive(struct optparse *options)
|
||||||
{
|
{
|
||||||
static const struct optparse_long archive[] = {
|
static const struct optparse_long archive[] = {
|
||||||
{"delete", 'd', OPTPARSE_NONE},
|
{"delete", 'd', OPTPARSE_NONE},
|
||||||
{0}
|
{0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
char *infile;
|
char *infile;
|
||||||
|
@ -643,7 +643,7 @@ command_extract(struct optparse *options)
|
||||||
{
|
{
|
||||||
static const struct optparse_long extract[] = {
|
static const struct optparse_long extract[] = {
|
||||||
{"delete", 'd', OPTPARSE_NONE},
|
{"delete", 'd', OPTPARSE_NONE},
|
||||||
{0}
|
{0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
char *infile;
|
char *infile;
|
||||||
|
@ -719,7 +719,7 @@ static void
|
||||||
command_help(struct optparse *options)
|
command_help(struct optparse *options)
|
||||||
{
|
{
|
||||||
static const struct optparse_long help[] = {
|
static const struct optparse_long help[] = {
|
||||||
{0}
|
{0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
char *command;
|
char *command;
|
||||||
|
@ -769,7 +769,7 @@ main(int argc, char **argv)
|
||||||
{"random-device", 'r', OPTPARSE_REQUIRED},
|
{"random-device", 'r', OPTPARSE_REQUIRED},
|
||||||
{"pubkey", 'p', OPTPARSE_REQUIRED},
|
{"pubkey", 'p', OPTPARSE_REQUIRED},
|
||||||
{"seckey", 's', OPTPARSE_REQUIRED},
|
{"seckey", 's', OPTPARSE_REQUIRED},
|
||||||
{0}
|
{0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
int option;
|
int option;
|
||||||
|
|
Loading…
Reference in New Issue