You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by vi...@apache.org on 2019/07/30 22:52:09 UTC

[mynewt-mcumgr] branch master updated: cborattr: Fix conversion between cbortype and cborattr

This is an automated email from the ASF dual-hosted git repository.

vipulrahane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git


The following commit(s) were added to refs/heads/master by this push:
     new 7dd89ee  cborattr: Fix conversion between cbortype and cborattr
     new 2d53e8b  Merge pull request #29 from ceolin/cborattr
7dd89ee is described below

commit 7dd89eedc5fe6afd729c052659d90b98852ac6db
Author: Flavio Ceolin <fl...@intel.com>
AuthorDate: Tue Jul 30 13:56:07 2019 -0700

    cborattr: Fix conversion between cbortype and cborattr
    
    Add missing break statement to Boolean type.
    
    Signed-off-by: Flavio Ceolin <fl...@intel.com>
---
 cborattr/src/cborattr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cborattr/src/cborattr.c b/cborattr/src/cborattr.c
index 46cdc23..c76ecc8 100644
--- a/cborattr/src/cborattr.c
+++ b/cborattr/src/cborattr.c
@@ -51,6 +51,7 @@ valid_attr_type(CborType ct, CborAttrType at)
         if (ct == CborBooleanType) {
             return 1;
         }
+	break;
 #if FLOAT_SUPPORT
     case CborAttrFloatType:
         if (ct == CborFloatType) {