Add unused markers if MULTIPLE_OWNER is undefined 75/24875/2
authorMats Wichmann <mats@linux.com>
Mon, 23 Apr 2018 16:18:47 +0000 (10:18 -0600)
committerMats Wichmann <mats@linux.com>
Tue, 21 Aug 2018 01:28:42 +0000 (01:28 +0000)
commite61bad61d01b13413f4e24dfb3c5a43e54d6a524
tree95477c1a328c704f98b94c93b1bbbcb71cb1e9a1
parente30199897cd6fe64e2fd7a66126a3c87d25d9c1d
Add unused markers if MULTIPLE_OWNER is undefined

Several functions in one source file have code which is bracketed
by #ifdef MULTIPLE_OWNER. If not defined, these trigger warnings
about unused parameters; since warnings now cause error, this is
fatal. Add OC_UNUSED() wrappings for these.

Change-Id: I6b6320e8a6444a43c6400527f2f982a39a3d9128
Signed-off-by: Mats Wichmann <mats@linux.com>
(cherry picked from commit d0c36f5b96caac409dcde289a0bb1b037fb54d03)
java/jni/JniOcSecureResource.cpp