Skip to content

Commit

Permalink
Remove extra variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranbt committed Jan 6, 2024
1 parent 312bc9e commit dfcedc2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Test.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ contract SuaveEnabled is Test {
inputs[0] = "suave";
inputs[1] = "forge";

try vm.ffi(inputs) returns (bytes memory result) {
console.logBytes(result);
} catch (bytes memory reason) {
try vm.ffi(inputs) returns (bytes memory) {}
catch (bytes memory reason) {
revert(detectFFIErrorMessage(reason));
}

Expand Down

0 comments on commit dfcedc2

Please sign in to comment.