From 028f30850f3c037866420ee9b3cc8e3a0fdc4d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Thu, 20 Mar 2014 12:32:51 +0000 Subject: [PATCH] get rid of warnings --- OPTYap/tab.insts.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OPTYap/tab.insts.i b/OPTYap/tab.insts.i index 3e81a7e7b..85498d15a 100644 --- a/OPTYap/tab.insts.i +++ b/OPTYap/tab.insts.i @@ -548,7 +548,9 @@ } else { /* subgoal in evaluation */ choiceptr leader_cp; +#ifdef YAPOR int leader_dep_on_stack; +#endif find_dependency_node(sg_fr, leader_cp, leader_dep_on_stack); UNLOCK_SG_FR(sg_fr); find_leader_node(leader_cp, leader_dep_on_stack); @@ -696,7 +698,9 @@ } else { /* subgoal in evaluation */ choiceptr leader_cp; +#ifdef YAPOR int leader_dep_on_stack; +#endif find_dependency_node(sg_fr, leader_cp, leader_dep_on_stack); UNLOCK_SG_FR(sg_fr); find_leader_node(leader_cp, leader_dep_on_stack); @@ -856,7 +860,9 @@ } else { /* subgoal in evaluation */ choiceptr leader_cp; +#ifdef YAPOR int leader_dep_on_stack; +#endif find_dependency_node(sg_fr, leader_cp, leader_dep_on_stack); UNLOCK_SG_FR(sg_fr); find_leader_node(leader_cp, leader_dep_on_stack);