Skip to content
Commit 62f62dbb authored by Chris Friedt's avatar Chris Friedt Committed by Johan Hedberg
Browse files

bluetooth: classic: shell: mitigate label followed by declaration



A recent change triggered a warning in LLVM that was promoted to error
when run with twister.

```shell
goep.c:102:3: error: label followed by a declaration is a C23 extension
  [-Werror,-Wc23-extensions]
  102 |                 int err;
```

Add a scope to the switch case so that the declaration has proper scope.

Signed-off-by: default avatarChris Friedt <cfriedt@tenstorrent.com>
parent 41120bf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment