From ec661c521db984a8f6394c3f456e592a26bc6f7e Mon Sep 17 00:00:00 2001 From: graehl Date: Mon, 5 Jul 2010 18:53:00 +0000 Subject: comment unused var names, todo git-svn-id: https://ws10smt.googlecode.com/svn/trunk@133 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/bottom_up_parser.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'decoder/bottom_up_parser.cc') diff --git a/decoder/bottom_up_parser.cc b/decoder/bottom_up_parser.cc index dd54a606..94f209b5 100644 --- a/decoder/bottom_up_parser.cc +++ b/decoder/bottom_up_parser.cc @@ -1,3 +1,5 @@ +//TODO: when using many nonterminals, group passive edges for a span (treat all as a single X for the active items). + #include "bottom_up_parser.h" #include @@ -17,8 +19,8 @@ struct ParserStats { } int active_items; int passive_items; - void NotifyActive(int i, int j) { ++active_items; } - void NotifyPassive(int i, int j) { ++passive_items; } + void NotifyActive(int , int ) { ++active_items; } + void NotifyPassive(int , int ) { ++passive_items; } }; ParserStats stats; @@ -148,7 +150,7 @@ class ActiveChart { private: const Hypergraph* hg_; Array2D > act_chart_; - const PassiveChart& psv_chart_; + const PassiveChart& psv_chart_; }; PassiveChart::PassiveChart(const string& goal, -- cgit v1.2.3