Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdavinchee committed Jan 25, 2024
1 parent 1d2efde commit cab6cef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ contract GeneralDistributionAgreementV1 is AgreementBase, TokenMonad, IGeneralDi
rtb += fromPools;

buf = uint256(universalIndexData.totalBuffer.toInt256()); // upcasting to uint256 is safe
owedBuffer = 0;
}

/// @dev ISuperAgreement.realtimeBalanceOf implementation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ contract NonTransferableST is SuperToken {
// no-empty-blocks
{ }

function transferFrom(address holder, address recipient, uint256 amount) public override returns (bool) {
function transferFrom(address, address, uint256) public pure override returns (bool) {
revert();
}

Expand Down

0 comments on commit cab6cef

Please sign in to comment.