Fix cppcheck issues in resource-encapsulation dir
authorMarkus Jung <markus.jung@samsung.com>
Fri, 2 Oct 2015 02:09:06 +0000 (11:09 +0900)
committerMadan Lanka <lanka.madan@samsung.com>
Fri, 2 Oct 2015 12:21:12 +0000 (12:21 +0000)
commit3a681a107a78bd3d36201bcd3cbfcb46500cc813
treedd9eb93393287a632538691e866e4f5bea07a3e2
parent0fe7faa0e424bd2bba5a8d8e05f8e88c1d88c705
Fix cppcheck issues in resource-encapsulation dir

This patch fixes the "(error) Returning reference to auto variable" issue reported
by cppcheck tool in resource-encapsulation/src/resourceContainer/src dir.

Change-Id: Idade3fb288f7571276274cccb30728cf46851ac6
Signed-off-by: Markus Jung <markus.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3397
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/resource-container/src/JavaBundleResource.cpp