cborattr; remove unused field from cbor_attr_t.
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/0cd5c13b Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/0cd5c13b Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/0cd5c13b Branch: refs/heads/develop Commit: 0cd5c13b52cc6eefb2aa7b47897bb24a4af81fdf Parents: 28a8d7c Author: Marko Kiiskila <[email protected]> Authored: Wed Jan 4 11:46:41 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Fri Jan 6 15:02:59 2017 -0800 ---------------------------------------------------------------------- encoding/cborattr/include/cborattr/cborattr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0cd5c13b/encoding/cborattr/include/cborattr/cborattr.h ---------------------------------------------------------------------- diff --git a/encoding/cborattr/include/cborattr/cborattr.h b/encoding/cborattr/include/cborattr/cborattr.h index a1cfe79..478c68d 100644 --- a/encoding/cborattr/include/cborattr/cborattr.h +++ b/encoding/cborattr/include/cborattr/cborattr.h @@ -33,7 +33,7 @@ extern "C" { #endif /* This library wraps the tinycbor decoder with a attribute based decoder - * suitable for decoding a binary version of json. Specificallly, the + * suitable for decoding a binary version of json. Specifically, the * contents of the cbor contains pairs of attributes. where the attribute * is a key/value pair. keys are always text strings, but values can be * many different things (enumerated below) */ @@ -117,7 +117,6 @@ struct cbor_attr_t { float fval; } dflt; size_t len; - const struct json_enum_t *map; bool nodefault; };
