commit | 9c1c90e92e13a56401b16ce77a23959dc4a5ab63 | [log] [tgz] |
---|---|---|
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | Wed Nov 12 14:45:58 2014 +0100 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Nov 24 15:42:11 2014 -0800 |
tree | aa83db8c229dcd1783380fc0103ac5eaa0df4731 | |
parent | 38cc84deceaf7bc9fab898cbcb37523cfba2bb66 [diff] |
Fix unused variables. The return value of jniRegisterNativeMethods is checked only in LOG_FATAL_IF, which defines to nothing in the LOG_NDEBUG case. Fake a use of the 'res' variable to shut off warnings when LOG_NDEBUG. Change-Id: I8263610f327c56897f76796fe1fbc2b325b0559f Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>