From e84e494a17d52d14cf56769b54dc13ce8ddd73de Mon Sep 17 00:00:00 2001 From: Miao ZhiCheng Date: Thu, 11 Apr 2024 22:06:58 +0300 Subject: [PATCH] Update SuperTokenV1Library.sol:getGDANetFlowInfo Remove a compiler warning of unused variable. --- .../ethereum-contracts/contracts/apps/SuperTokenV1Library.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ethereum-contracts/contracts/apps/SuperTokenV1Library.sol b/packages/ethereum-contracts/contracts/apps/SuperTokenV1Library.sol index 7c768e9585..286a65e093 100644 --- a/packages/ethereum-contracts/contracts/apps/SuperTokenV1Library.sol +++ b/packages/ethereum-contracts/contracts/apps/SuperTokenV1Library.sol @@ -964,7 +964,7 @@ library SuperTokenV1Library { function getGDANetFlowInfo(ISuperToken token, address account) internal view - returns (uint256 lastUpdated, int96 flowRate, uint256 deposit, uint256 owedDeposit) + returns (uint256 lastUpdated, int96 flowRate, uint256 deposit, uint256 /* owedDeposit unused */) { (, IGeneralDistributionAgreementV1 gda) = _getHostAndGDA(token); (lastUpdated, flowRate, deposit) = gda.getAccountFlowInfo(token, account);