Clean up compiler warnings
authorGeorge Nash <george.nash@intel.com>
Mon, 27 Jun 2016 16:56:01 +0000 (09:56 -0700)
committerHabib Virji <habib.virji@samsung.com>
Thu, 30 Jun 2016 13:54:57 +0000 (13:54 +0000)
commiteef1bb6254b254669127b7430bf4f80d7a6a9739
tree317479cfd3665d5deaac6b22a748b9160ce93113
parent24474a8d2555229efb425b6cb63e19b3279ba810
Clean up compiler warnings

ocresource.c: (-Wunused-variable)
Fix the waring by moving the tcport inside the #ifdef

amsmgr.c (-Wunused-variable)
b64Ret, outLen, and base64Buff were all local variables that were
unused. They are removed since they are unused.

amaclresource.c (-Wunused-function)
OicSecAmaclCount function is unused anywhere. Since it is unused
it is not being maintained so it was removed.

Change-Id: Ia0327aec1feb484f084b2ce0d6608738ef5f6ad9
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8969
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
resource/csdk/security/src/amaclresource.c
resource/csdk/security/src/amsmgr.c
resource/csdk/stack/src/ocresource.c