diff --git a/compiler2/ttcn3/Statement.cc b/compiler2/ttcn3/Statement.cc index dd5764afe1de9aac8390e2047402166627beace1..bb61d8f947167503afbbd490de8ce2c7ea3f3b73 100644 --- a/compiler2/ttcn3/Statement.cc +++ b/compiler2/ttcn3/Statement.cc @@ -5740,7 +5740,7 @@ error: Type *Statement::chk_signature_ref(Reference *p_ref) { if (!p_ref) FATAL_ERROR("Statement::chk_signature_ref()"); - Error_Context(p_ref, "In signature"); + Error_Context cntxt(p_ref, "In signature"); Common::Assignment *t_ass = p_ref->get_refd_assignment(); if (!t_ass) return 0; if (t_ass->get_asstype() != Common::Assignment::A_TYPE) {