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

Commit 02421af0 authored by Ken Wakasa's avatar Ken Wakasa Committed by Android (Google) Code Review
Browse files

Merge "remove invalid comparison"

parents 84f5816c 94885f57
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -201,7 +201,6 @@ inline void BinaryFormat::readHeaderValue(const uint8_t *const dict, const char
                    outValue[outValueIndex++] = codePoint;
                    codePoint = getCodePointAndForwardPointer(dict, &index);
                }
                if (outValueIndex < outValueIndex) outValue[outValueIndex] = 0;
                // Finished copying. Break to go to the termination code.
                break;
            }
@@ -219,7 +218,6 @@ inline void BinaryFormat::readHeaderValue(const uint8_t *const dict, const char
    // Put a terminator 0 if possible at all (always unless outValueSize is <= 0)
    if (outValueIndex >= outValueSize) outValueIndex = outValueSize - 1;
    if (outValueIndex >= 0) outValue[outValueIndex] = 0;
    return;
}

inline int BinaryFormat::readHeaderValueInt(const uint8_t *const dict, const char *const key) {