Skip to content

Commit

Permalink
[usb-moded] Remove extra "const"
Browse files Browse the repository at this point in the history
Compiler warns about "const const".

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Jan 28, 2020
1 parent df3179c commit a077a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb_moded.c
Expand Up @@ -944,7 +944,7 @@ static const char usbmoded_usage_info[] =
" cable connect.\n"
"\n";

static const struct option const usbmoded_long_options[] =
static const struct option usbmoded_long_options[] =
{
{ "android_usb_broken", no_argument, 0, 'a' },
{ "android_usb_broken_udev_events", no_argument, 0, 'i' },
Expand Down

0 comments on commit a077a2b

Please sign in to comment.