You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by st...@apache.org on 2016/12/18 21:56:53 UTC
[25/50] incubator-mynewt-core git commit: oic;
fix build warning when neither IP and BLE transport options were
compiled in.
oic; fix build warning when neither IP and BLE transport options
were compiled in.
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/a372c10f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/a372c10f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/a372c10f
Branch: refs/heads/sensors_branch
Commit: a372c10fa7d7315b54341f084734926cee8478ee
Parents: 256f8b6
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Dec 13 11:48:51 2016 -0800
Committer: Sterling Hughes <st...@apache.org>
Committed: Sun Dec 18 13:56:16 2016 -0800
----------------------------------------------------------------------
net/oic/src/port/mynewt/log.c | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/a372c10f/net/oic/src/port/mynewt/log.c
----------------------------------------------------------------------
diff --git a/net/oic/src/port/mynewt/log.c b/net/oic/src/port/mynewt/log.c
index 9a877bf..85b80c6 100644
--- a/net/oic/src/port/mynewt/log.c
+++ b/net/oic/src/port/mynewt/log.c
@@ -32,6 +32,8 @@ oc_log_endpoint(uint16_t lvl, struct oc_endpoint *oe)
char *str;
char tmp[46 + 6];
+ (void)tmp;
+
switch (oe->flags) {
#if (MYNEWT_VAL(OC_TRANSPORT_IP) == 1)
case IP: {