mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Remove value clearing since it no longer has an effect
This commit is contained in:
parent
8c0590fa32
commit
c82623a6cc
@ -290,13 +290,7 @@ public:
|
||||
|
||||
inline void finishValue(InternalType newType, Payload newPayload)
|
||||
{
|
||||
/* After overwriting thunk/app values, be sure to clear
|
||||
pointers in the Value to ensure that the target isn't kept
|
||||
alive unnecessarily. */
|
||||
payload.app.left = payload.app.right = 0;
|
||||
|
||||
payload = newPayload;
|
||||
|
||||
internalType = newType;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user