summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorcmumford <cmumford@google.com>2017-10-19 10:33:42 -0700
committerVictor Costan <pwnall@chromium.org>2017-11-03 15:03:44 -0700
commit3da4d8b9899257386aeb5ffa345a6477c62ff7bf (patch)
tree1b074b3c2cf8517232431d92b31dfc46db8c09c3 /CONTRIBUTING.md
parent0509414f858ae7c7225e29f3659a709afb324355 (diff)
downloadleveldb-3da4d8b9899257386aeb5ffa345a6477c62ff7bf.tar.gz
Deleted unused assignments in Reader.
Deleted two unused assignments: 1. offset_in_block in Reader::SkipToInitialBlock(). 2. in_fragmented_record in Reader::ReadRecord(). Reasons for the change: 1. offset_in_block is not read again after the if condition. 2. The kFullRecordType switch branch returns, so in_fragmented_record isn't read again. 3. The kFirstType switch branch sets in_fragmented_record to true after the if, so the write in the if is ignored. Change contributed by @C0deAi on GitHub. This fixes https://github.com/google/leveldb/issues/517 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172763897
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions