fix build
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/cfd8dbed Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/cfd8dbed Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/cfd8dbed Branch: refs/heads/master Commit: cfd8dbed13e9500d0812c9e66beb55842735a038 Parents: e5e1778 Author: Vipul Rahane <[email protected]> Authored: Fri Mar 31 17:44:04 2017 -0700 Committer: Vipul Rahane <[email protected]> Committed: Fri Mar 31 17:44:04 2017 -0700 ---------------------------------------------------------------------- hw/bsp/nrf52dk/src/hal_bsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/cfd8dbed/hw/bsp/nrf52dk/src/hal_bsp.c ---------------------------------------------------------------------- diff --git a/hw/bsp/nrf52dk/src/hal_bsp.c b/hw/bsp/nrf52dk/src/hal_bsp.c index b636bfd..4a2a2a1 100644 --- a/hw/bsp/nrf52dk/src/hal_bsp.c +++ b/hw/bsp/nrf52dk/src/hal_bsp.c @@ -209,7 +209,7 @@ sensor_dev_create(void) { int rc; - rc = 0; + (void)rc; #if MYNEWT_VAL(LSM303DLHC_PRESENT) rc = os_dev_create((struct os_dev *) &lsm303dlhc, "accel0", OS_DEV_INIT_PRIMARY, 0, slinky_accel_init, NULL);
