Fixed unused-const-variable compiler warning
authorGeorge Nash <george.nash@intel.com>
Thu, 26 Jan 2017 21:43:18 +0000 (13:43 -0800)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 30 Jan 2017 17:02:08 +0000 (17:02 +0000)
commit009e2bae271269e19d65121d6baacdc08e0ccf37
tree356f8bf4d16fca5709c927d7f3c3b18876d94049
parent59fdcbe7c6267d544eb8d064b3d4640154eef80f
Fixed unused-const-variable compiler warning

Removed the CBOR_MAX_SIZE const variable.

In other parts of the code the CBOR_MAX_SIZE is used to
check if realocation can be used to resolve an out-of-memory
cborEncoderResult.

In credresource.c it is not used and can be removed.

Change-Id: I967b84375dd7f3d3532f191aa503d2d80542ffb1
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16805
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mike Fenelon <mike.fenelon@microsoft.com>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/security/src/credresource.c