summaryrefslogtreecommitdiff
path: root/decoder/trule.cc
diff options
context:
space:
mode:
authorgraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-10 10:05:39 +0000
committergraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-10 10:05:39 +0000
commitf7935125ba51a0f84def04c25e14ccdbdc5fb7b7 (patch)
treef276afef859645e874d040c6e61d7cb6df4d9d15 /decoder/trule.cc
parent9e16425fbae99c9b46d7f0daa5a7c9a35d5c436c (diff)
fix warning
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@500 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/trule.cc')
-rw-r--r--decoder/trule.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/trule.cc b/decoder/trule.cc
index b76a29c3..f43fbb58 100644
--- a/decoder/trule.cc
+++ b/decoder/trule.cc
@@ -99,6 +99,7 @@ THREADLOCAL int n_assigned=0;
void assign_trule(const TRulePtr& new_rule, const unsigned int ctf_level, const TRulePtr& coarse_rule, void* extra) {
TRule *assignto=(TRule *)extra;
*assignto=*new_rule;
+ ++n_assigned;
}
}