Skip to content

Commit

Permalink
Remove unused return names
Browse files Browse the repository at this point in the history
  • Loading branch information
hensha256 committed Aug 24, 2023
1 parent 6eae896 commit 5e5ef41
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
@@ -1 +1 @@
181972
150411
@@ -1 +1 @@
150955
182180
@@ -1 +1 @@
146882
178116
2 changes: 1 addition & 1 deletion src/lens/OrderQuoter.sol
Expand Up @@ -43,7 +43,7 @@ contract OrderQuoter is IReactorCallback {
/// @notice Return the order info of a given order (abi-encoded bytes).
/// @param reason The revert reason
/// @return order abi-encoded order, including `reactor` as the first encoded struct member
function parseRevertReason(bytes memory reason) private pure returns (ResolvedOrder memory order) {
function parseRevertReason(bytes memory reason) private pure returns (ResolvedOrder memory) {
if (reason.length < RESOLVED_ORDER_MIN_LENGTH) {
assembly {
revert(add(32, reason), mload(reason))
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ExclusivityOverrideLib.sol
Expand Up @@ -54,7 +54,7 @@ library ExclusivityOverrideLib {
/// @dev if the order has no exclusivity, always returns true
/// @dev if the order has active exclusivity and the current filler is the exclusive address, returns true
/// @dev if the order has active exclusivity and the current filler is not the exclusive address, returns false
function hasFillingRights(address exclusive, uint256 exclusivityEndTime) internal view returns (bool pass) {
function hasFillingRights(address exclusive, uint256 exclusivityEndTime) internal view returns (bool) {
return exclusive == address(0) || block.timestamp > exclusivityEndTime || exclusive == msg.sender;
}
}

0 comments on commit 5e5ef41

Please sign in to comment.