mirror of
https://github.com/vlang/v.git
synced 2025-09-13 09:25:45 -04:00
crypto.sha3: remove unnecessary return at the end of the write function (#21669)
This commit is contained in:
parent
47e93d1c39
commit
7d182a469e
@ -256,8 +256,6 @@ pub fn (mut d Digest) write(data []u8) ! {
|
|||||||
if bytes_remaining.len > 0 {
|
if bytes_remaining.len > 0 {
|
||||||
d.input_buffer = bytes_remaining
|
d.input_buffer = bytes_remaining
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// checksum finalizes the hash and returns the generated bytes.
|
// checksum finalizes the hash and returns the generated bytes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user