Skip to content

Commit 58df646

Browse files
authored
[Support/BLAKE3] Remove some dead stores (#95120)
These were caught by the clang static analyzer.
1 parent 64c9a1e commit 58df646

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Support/BLAKE3/blake3.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ INLINE void chunk_state_update(blake3_chunk_state *self, const uint8_t *input,
141141
input_len -= BLAKE3_BLOCK_LEN;
142142
}
143143

144-
size_t take = chunk_state_fill_buf(self, input, input_len);
145-
input += take;
146-
input_len -= take;
144+
chunk_state_fill_buf(self, input, input_len);
147145
}
148146

149147
INLINE output_t chunk_state_output(const blake3_chunk_state *self) {

0 commit comments

Comments
 (0)