Skip to content

Commit 534d224

Browse files
committed
fix(c4-287-g01): remove unused local variable
Signed-off-by: Tomás Migone <[email protected]>
1 parent 7d29d6d commit 534d224

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contracts/l2/gateway/L2GraphTokenGateway.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,7 @@ contract L2GraphTokenGateway is GraphTokenGateway, L2ArbitrumMessenger, Reentran
238238
if (_data.length > 0) {
239239
bytes memory callhookData;
240240
{
241-
bytes memory gatewayData;
242-
(gatewayData, callhookData) = abi.decode(_data, (bytes, bytes));
241+
(, callhookData) = abi.decode(_data, (bytes, bytes));
243242
}
244243
ICallhookReceiver(_to).onTokenTransfer(_from, _amount, callhookData);
245244
}

0 commit comments

Comments
 (0)