From d6b0bd059092b5492a52e2ecc472e349cfd9c7c0 Mon Sep 17 00:00:00 2001 From: diana Date: Mon, 2 Dec 2024 14:25:18 -0500 Subject: [PATCH] unnecessary line of code (#408) * unnecessary line of code * forge clean --- .forge-snapshots/positionDescriptor bytecode size.snap | 2 +- src/PositionDescriptor.sol | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.forge-snapshots/positionDescriptor bytecode size.snap b/.forge-snapshots/positionDescriptor bytecode size.snap index 616fe551..60d759c4 100644 --- a/.forge-snapshots/positionDescriptor bytecode size.snap +++ b/.forge-snapshots/positionDescriptor bytecode size.snap @@ -1 +1 @@ -24177 \ No newline at end of file +24110 \ No newline at end of file diff --git a/src/PositionDescriptor.sol b/src/PositionDescriptor.sol index 34910d53..021cbd5e 100644 --- a/src/PositionDescriptor.sol +++ b/src/PositionDescriptor.sol @@ -118,8 +118,6 @@ contract PositionDescriptor is IPositionDescriptor { return CurrencyRatioSortOrder.DENOMINATOR_MORE; } else if (currency == WBTC) { return CurrencyRatioSortOrder.DENOMINATOR_MOST; - } else { - return 0; } } return 0;