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

Commit 000036b6 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Fix variable shadow compilation issue in Debug.cpp

Bug: 410035138
Flag: EXEMPT bugfix
Test: Compile
Change-Id: I5a379c56f4700e68e44ee34ec10e4d4efe3506ab
parent 205a5ad8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -185,9 +185,9 @@ void printHexData(int32_t indent, const void *buf, size_t length,

    if ((int32_t)length < 0) {
        if (singleLineBytesCutoff < 0) func(cookie, "\n");
        char buf[64];
        sprintf(buf, "(bad length: %zu)", length);
        func(cookie, buf);
        char bufLocal[64];
        sprintf(bufLocal, "(bad length: %zu)", length);
        func(cookie, bufLocal);
        return;
    }