diff options
author | 2012-12-03 17:52:21 +0900 | |
---|---|---|
committer | 2012-12-03 18:15:06 +0900 | |
commit | 94885f572c25a6a23c8c90a7a5b3a19f79d4b45c (patch) | |
tree | be79c87024f02042730f02f75c1ca9f24b1cd045 | |
parent | 16e9d343c4ab0d4260f9baaabf13593f8946368f (diff) | |
download | latinime-94885f572c25a6a23c8c90a7a5b3a19f79d4b45c.tar.gz latinime-94885f572c25a6a23c8c90a7a5b3a19f79d4b45c.tar.xz latinime-94885f572c25a6a23c8c90a7a5b3a19f79d4b45c.zip |
remove invalid comparison
Change-Id: I162c478debe5897be057998bd22924ed487d01af
-rw-r--r-- | native/jni/src/binary_format.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/native/jni/src/binary_format.h b/native/jni/src/binary_format.h index 86410fb8f..9d25e063e 100644 --- a/native/jni/src/binary_format.h +++ b/native/jni/src/binary_format.h @@ -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) { |