Skip to content

[BUG] warnings building Bluefruit52Lib's central_throughput example #378

Closed
@henrygab

Description

@henrygab

Describe the bug
Sample code currently emits warnings.

.../Bluefruit52Lib/examples/Central/central_throughput/central_throughput.ino:
    In function 'void bleuart_rx_callback(BLEClientUart&)':
.../Bluefruit52Lib/examples/Central/central_throughput/central_throughput.ino:135:7:
    warning: unused variable 'count' [-Wunused-variable]

   int count = uart_svc.available();
       ^~~~~

Set up (please complete the following information)

To Reproduce
Steps to reproduce the behavior:

  1. Start a build based on PR 376
  2. Allow the build to complete
  3. Expand one of the three build jobs that enable additional warnings
  4. Review the build logs
    for the sample being fixed.

Expected behavior
Sample code should build without warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions