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

Commit f84c641b authored by Greg Kaiser's avatar Greg Kaiser
Browse files

incidentd: Move logging statement so it's used

We move our ALOGE() to prior to the 'return', so it gets invoked
if we get to this logic.

Test: TreeHugger
Change-Id: Ifcd73d3abe98705cb94616bedd224b4425f4e964
parent 25445123
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,8 +87,8 @@ status_t ProtoDecryptor::readOneBlock(string* output) {
            mReader->move(toRead);
        }
        if (pos != sectionSize) {
            return BAD_VALUE;
            ALOGE("Failed to read one block");
            return BAD_VALUE;
        }
    } else {
        return BAD_VALUE;