* commit '6cc39a475dd8eaac04438b393559612ff7cd840f': Fix unused variables.
This commit is contained in:
@@ -137,6 +137,7 @@ static JNINativeMethod gInputApplicationHandleMethods[] = {
|
|||||||
int register_android_server_InputApplicationHandle(JNIEnv* env) {
|
int register_android_server_InputApplicationHandle(JNIEnv* env) {
|
||||||
int res = jniRegisterNativeMethods(env, "com/android/server/input/InputApplicationHandle",
|
int res = jniRegisterNativeMethods(env, "com/android/server/input/InputApplicationHandle",
|
||||||
gInputApplicationHandleMethods, NELEM(gInputApplicationHandleMethods));
|
gInputApplicationHandleMethods, NELEM(gInputApplicationHandleMethods));
|
||||||
|
(void) res; // Faked use when LOG_NDEBUG.
|
||||||
LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
||||||
|
|
||||||
jclass clazz;
|
jclass clazz;
|
||||||
|
|||||||
@@ -1416,6 +1416,7 @@ static JNINativeMethod gInputManagerMethods[] = {
|
|||||||
int register_android_server_InputManager(JNIEnv* env) {
|
int register_android_server_InputManager(JNIEnv* env) {
|
||||||
int res = jniRegisterNativeMethods(env, "com/android/server/input/InputManagerService",
|
int res = jniRegisterNativeMethods(env, "com/android/server/input/InputManagerService",
|
||||||
gInputManagerMethods, NELEM(gInputManagerMethods));
|
gInputManagerMethods, NELEM(gInputManagerMethods));
|
||||||
|
(void) res; // Faked use when LOG_NDEBUG.
|
||||||
LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
||||||
|
|
||||||
// Callbacks
|
// Callbacks
|
||||||
|
|||||||
@@ -227,6 +227,7 @@ static JNINativeMethod gInputWindowHandleMethods[] = {
|
|||||||
int register_android_server_InputWindowHandle(JNIEnv* env) {
|
int register_android_server_InputWindowHandle(JNIEnv* env) {
|
||||||
int res = jniRegisterNativeMethods(env, "com/android/server/input/InputWindowHandle",
|
int res = jniRegisterNativeMethods(env, "com/android/server/input/InputWindowHandle",
|
||||||
gInputWindowHandleMethods, NELEM(gInputWindowHandleMethods));
|
gInputWindowHandleMethods, NELEM(gInputWindowHandleMethods));
|
||||||
|
(void) res; // Faked use when LOG_NDEBUG.
|
||||||
LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
||||||
|
|
||||||
jclass clazz;
|
jclass clazz;
|
||||||
|
|||||||
@@ -189,6 +189,7 @@ static JNINativeMethod gPowerManagerServiceMethods[] = {
|
|||||||
int register_android_server_PowerManagerService(JNIEnv* env) {
|
int register_android_server_PowerManagerService(JNIEnv* env) {
|
||||||
int res = jniRegisterNativeMethods(env, "com/android/server/power/PowerManagerService",
|
int res = jniRegisterNativeMethods(env, "com/android/server/power/PowerManagerService",
|
||||||
gPowerManagerServiceMethods, NELEM(gPowerManagerServiceMethods));
|
gPowerManagerServiceMethods, NELEM(gPowerManagerServiceMethods));
|
||||||
|
(void) res; // Faked use when LOG_NDEBUG.
|
||||||
LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
LOG_FATAL_IF(res < 0, "Unable to register native methods.");
|
||||||
|
|
||||||
// Callbacks
|
// Callbacks
|
||||||
|
|||||||
Reference in New Issue
Block a user