Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop f4a354344 -> 4cb7c5bb0


newtmgr_oic; fix compiler warning.


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/4cb7c5bb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4cb7c5bb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/4cb7c5bb

Branch: refs/heads/develop
Commit: 4cb7c5bb03bb1c252e1f2c1efe8fc71a88e2f42c
Parents: f4a3543
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed Sep 21 09:56:02 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed Sep 21 09:56:02 2016 -0700

----------------------------------------------------------------------
 libs/newtmgr_oic/src/newtmgr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4cb7c5bb/libs/newtmgr_oic/src/newtmgr.c
----------------------------------------------------------------------
diff --git a/libs/newtmgr_oic/src/newtmgr.c b/libs/newtmgr_oic/src/newtmgr.c
index 4d7f25b..29a07de 100644
--- a/libs/newtmgr_oic/src/newtmgr.c
+++ b/libs/newtmgr_oic/src/newtmgr.c
@@ -301,8 +301,8 @@ nmgr_jbuf_setoerr(struct nmgr_jbuf *njb, int errcode)
 static struct nmgr_handler *
 nmgr_oic_find_handler(const char *q, int qlen)
 {
-    int grp;
-    int id;
+    int grp = -1;
+    int id = -1;
     char *str;
     char *eptr;
     int slen;

Reply via email to