You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/04/07 18:44:48 UTC

[14/50] [abbrv] incubator-mynewt-core git commit: fix build

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 <vi...@apache.org>
Authored: Fri Mar 31 17:44:04 2017 -0700
Committer: Vipul Rahane <vi...@apache.org>
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);