memset(in_passphrase, 0, sizeof(in_passphrase));
}
-static void die_signal_handler(int signum, siginfo_t *siginfo, void *context)
+static void die_signal_handler(int UNUSED(signum),
+ siginfo_t *UNUSED(siginfo), void *UNUSED(context))
{
clear_secrets();
exit(-1);
"Give the invoking process (typically a shell) a new session keyring,\n" \
"discarding its old session keyring.\n"
-static void do_new_session(int argc, char **argv, const struct cmd_desc *cmd)
+static void do_new_session(int argc, char **UNUSED(argv),
+ const struct cmd_desc *cmd)
{
long keyid, ret;
{ NULL, NULL, NULL, NULL, 0 }
};
-static void do_help(int argc, char **argv, const struct cmd_desc *cmd)
+static void do_help(int argc, char **argv, const struct cmd_desc *UNUSED(cmd))
{
const struct cmd_desc *p;
int ret;
char keyname[32];
char buf[4096];
- struct mm_table key = { keyname, NULL };
+ struct mm_table key = { keyname, NULL, 0 };
struct mm_table *found;
int f2fstat_table_cnt;
char *head, *tail;