diff --git a/cmds/incidentd/src/cipher/ProtoEncryption.cpp b/cmds/incidentd/src/cipher/ProtoEncryption.cpp index 11f0b2ace99ab..493796d2af4d1 100644 --- a/cmds/incidentd/src/cipher/ProtoEncryption.cpp +++ b/cmds/incidentd/src/cipher/ProtoEncryption.cpp @@ -87,8 +87,8 @@ status_t ProtoDecryptor::readOneBlock(string* output) { mReader->move(toRead); } if (pos != sectionSize) { - ALOGE("Failed to read one block"); return BAD_VALUE; + ALOGE("Failed to read one block"); } } else { return BAD_VALUE;