Skip to content

switch: statement may fall through #66

@kuldeepdhaka

Description

@kuldeepdhaka

gcc warning:

../../usbd/usbd_ep0.c: In function 'standard_get_descriptor':
../../usbd/usbd_ep0.c:167:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (index < dev->info->device.desc->bNumConfigurations) {
      ^
../../usbd/usbd_ep0.c:173:2: note: here
  case USB_DT_STRING:
  ^~~~

https://github.com/insane-adding-machines/unicore-mx/blob/master/lib/usbd/usbd_ep0.c#L394

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions