G01 No need to explicitly initialize variables with default values
If a variable is not initialized it is automatically set to the default value (0 for uint, false for bool, address(0) for address...).
Explicitly initializing it with its default value is an anti-pattern and wastes gas.
G01 No need to explicitly initialize variables with default values
If a variable is not initialized it is automatically set to the default value (0 for uint, false for bool, address(0) for address...). Explicitly initializing it with its default value is an anti-pattern and wastes gas.
Example:
uint256 totalAmount = 0;
->uint256 totalAmount;
CNft.sol#L49-L49