abstract contract D { function d() public virtual ; } contract C { bool a; uint x; D d; function g() public returns (uint) { x = 2; d.d(); return x; } function f(bool b) public { x = 1; uint y = b ? g() : 3; assert(x == 2 || x == 1); } function h() internal { x = 3; } } // ==== // SMTEngine: all // SMTIgnoreOS: macos // ---- // Warning 2072: (255-261): Unused local variable. // Info 1391: CHC: 1 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.