Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62f7c973 authored by Matthew Xie's avatar Matthew Xie
Browse files

Fix a compile error when debug is turned on

logv uses a variable that is declared after its use

Change-Id: Id5c09698e4a0a91befa3ce2f60ce02ec28733889
parent e982d836
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1562,8 +1562,8 @@ void onHealthDeviceConnectionResult(DBusMessage *msg, void *user, void *n) {
        LOG_AND_FREE_DBUS_ERROR(&err);
    }

    LOGV("... Health Device Code = %d, result = %d", code, result);
    jint code = *(int *) user;
    LOGV("... Health Device Code = %d, result = %d", code, result);
    env->CallVoidMethod(nat->me,
                        method_onHealthDeviceConnectionResult,
                        code,