File removed_unused_var.patch of Package libu2f-host.19616
diff --color -ruN libu2f-host-1.1.10-ori/src/cmdline.c libu2f-host-1.1.10/src/cmdline.c
--- libu2f-host-1.1.10-ori/src/cmdline.c 2019-02-22 12:31:45.000000000 +0100
+++ libu2f-host-1.1.10/src/cmdline.c 2021-05-05 19:25:29.175029777 +0200
@@ -1,7 +1,7 @@
/*
File autogenerated by gengetopt version 2.22.6
generated with the following command:
- gengetopt --no-handle-help --input cmdline.ggo Makefile.am
+ gengetopt --no-handle-help --input cmdline.ggo Makefile.am
The developers of gengetopt consider the fixed text that goes in all
gengetopt output files to be in the public domain:
@@ -456,13 +456,11 @@
const char *long_opt, char short_opt,
const char *additional_error)
{
- char *stop_char = 0;
const char *val = value;
int found;
char **string_field;
FIX_UNUSED (field);
- stop_char = 0;
found = 0;
if (!multiple_option && prev_given
diff --color -ruN libu2f-host-1.1.10-ori/src/u2f-host.c libu2f-host-1.1.10/src/u2f-host.c
--- libu2f-host-1.1.10-ori/src/u2f-host.c 2021-05-05 19:23:42.182832697 +0200
+++ libu2f-host-1.1.10/src/u2f-host.c 2021-05-05 19:24:35.370930669 +0200
@@ -36,7 +36,6 @@
char response[2048] = {0};
size_t response_len = sizeof (response);
u2fh_devs *devs = NULL;
- u2fh_cmdflags flags = 0;
u2fh_rc rc;
if (cmdline_parser (argc, argv, &args_info) != 0)