mirror of
https://github.com/corda/corda.git
synced 2025-01-23 04:48:09 +00:00
remove redundant statement in parseUtf8
VM heap allocated memory is already zero'd out, so there's no need to explicitly end strings with a null character.
This commit is contained in:
parent
384682431a
commit
8d9412c1e8
@ -758,7 +758,6 @@ parseUtf8(Thread* t, Stream& s, unsigned length)
|
|||||||
value = v;
|
value = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
byteArrayBody(t, value, vi) = 0;
|
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user