my $dummy_vg = Test::Valgrind::FakeValgrind->new();
skip $dummy_vg => 2 unless ref $dummy_vg;
- $sess = eval { Test::Valgrind::Session->new(
+ eval { Test::Valgrind::Session->new(
valgrind => $dummy_vg->path,
no_def_supp => 1,
extra_supp => [ 't/supp/no_perl' ],
like $@, qr/No compatible suppressions available/,
'incompatible suppression file';
- $sess = eval { Test::Valgrind::Session->new(
+ eval { Test::Valgrind::Session->new(
valgrind => $dummy_vg->path,
no_def_supp => 1,
allow_no_supp => 1,