From dfcedc2d8174ffe93fa2e16305944b8bdf4be418 Mon Sep 17 00:00:00 2001 From: Ferran Borreguero Date: Sat, 6 Jan 2024 11:24:04 +0100 Subject: [PATCH] Remove extra variable --- src/Test.sol | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Test.sol b/src/Test.sol index b59b2c8..954a387 100644 --- a/src/Test.sol +++ b/src/Test.sol @@ -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)); }