Bluetooth: nble: Fix warnings when debug is disabled

Use pointers instead of potentially unused var.

Change-Id: I07bcb788b0f9e5e100c913c48d7d38464565157a
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2016-01-28 17:26:00 +02:00 committed by Anas Nashif
commit 78b0b6dd62

View file

@ -47,10 +47,9 @@ void on_nble_up(void)
void on_ble_get_version_rsp(const struct ble_version_response *rsp)
{
const struct version_header *ver = &rsp->version;
BT_DBG("VERSION: %d.%d.%d %.20s", ver->major, ver->minor, ver->patch,
ver->version_string);
BT_DBG("VERSION: %d.%d.%d %.20s", rsp->version.major,
rsp->version.minor, rsp->version.patch,
rsp->version.version_string);
}
int bt_enable(bt_ready_cb_t cb)