<!-- canonical: https://0xsimao.com/findings/metazero-i-names-ignore-compiler-warnings -->

# Unused parameters names can be removed to ignore compiler warnings

Low/Info · Three Sigma · Omnichain RWA tokenisation · 27th January, 2024

Finding 3S-MetaZero-N03 of the MetaZero Omnichain NFTs security review.

- Protocol: https://metazero.gg/
- Report: /reports/metazero-i
- Source: https://cdn.sanity.io/files/qoqld077/production/1b1ab4ff365756fe1d86767f1e06744407570f5a.pdf

---

### Description

[lzReceive()](https://github.com/threesigmaxyz/metazero-issues-external/blob/master/src/ONFTV2-721C.sol#L119-L125) only uses the payload parameter, so the other names can be removed, leaving
only the types:
function _lzReceive(
Origin calldata, // struct containing info about the message sender

```solidity
bytes32, // global packet identifier
bytes calldata payload, // encoded message payload being received
```

address, // the Executor address.
bytes calldata // arbitrary data appended by the Executor

### Status

Addressed in d7d5c84.

---

Related findings:

- [`Ownable` is unused in `CodeupERC20` and could be removed](https://0xsimao.com/findings/codeup-ownable-codeup-erc20-removed): CODEUP
