Omniscia Avant Protocol Audit
StakedAvUSD Code Style Findings
StakedAvUSD Code Style Findings
SAU-01C: Redundant Parenthesis Statement
Type | Severity | Location |
---|---|---|
Code Style | StakedAvUSD.sol:L178 |
Description:
The referenced statement is redundantly wrapped in parenthesis (()
).
Example:
contracts/StakedAvUSD.sol
178deltaT = (VESTING_PERIOD - timeSinceLastDistribution);
Recommendation:
We advise them to be safely omitted, increasing the legibility of the codebase.
Alleviation:
The redundant parenthesis in the referenced statement have been safely omitted.