Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 103c8cdb authored by William Escande's avatar William Escande
Browse files

Fix some tidy error

```
warning: argument name 'chg_aware' in comment does not match parameter
name 'chg_unaware' [bugprone-argument-comment]
    if (tcb.in_use) gatt_sr_update_cl_status(tcb, /* chg_aware= */ false);
                                                  ^~~~~~~~~~~~~~~~
                                                  /* chg_unaware= */
note: 'chg_unaware' declared here
extern void gatt_sr_update_cl_status(tGATT_TCB& tcb, bool chg_unaware);
                                                          ^
warning: the parameter 'name' is copied for each invocation but only
used as a const reference; consider making it a const reference
tGATT_IF GATT_Register(const Uuid& app_uuid128, std::string name,
                                                            ^
                                                const      &
warning: the parameter 's' is copied for each invocation but only used
as a const reference; consider making it a const reference
  void Push(std::string s) {
                        ^
            const      &
```

Test: build with tidy
Change-Id: I0827dd82bb90505a63e0ad4a87b6dfb1f78dd3b5
parent 4c39f403
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment