mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-27 12:59:30 +00:00
Consistency
This commit is contained in:
parent
ddc2cba2c7
commit
6a1499c05c
@ -81,7 +81,7 @@ proc createShared*(
|
||||
ret[].chunkLen = chunkLen
|
||||
ret[].chunkSize = chunkSize
|
||||
|
||||
if chunkLen > 0 and chunkData != nil:
|
||||
if chunkLen > 0:
|
||||
ret[].chunk = allocShared(chunkLen)
|
||||
copyMem(ret[].chunk, chunkData, chunkLen)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user