diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-29 14:10:51 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-03-29 14:10:51 +0300 |
commit | 789a2e2bc32eb94beca02fadcbab0780707a260c (patch) | |
tree | 99fbe7d317006856a6706c0ed148fecc6d9704d1 /moses/PDTAimp.cpp | |
parent | 6fa57a1dacdc985ebadc0294805f299856fa7bad (diff) |
Fix some compile warnings (gcc 4.9.2).
Mostly signed/unsigned comparisons and reordered member
initializations; also a few unused variables.
There are more, but if I chip away at them for a while, who knows, it
may catch on and warnings may eventually become socially stigmatizing.
:)
Diffstat (limited to 'moses/PDTAimp.cpp')
-rw-r--r-- | moses/PDTAimp.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/moses/PDTAimp.cpp b/moses/PDTAimp.cpp index 1b9e789ce..6770a5c17 100644 --- a/moses/PDTAimp.cpp +++ b/moses/PDTAimp.cpp @@ -222,7 +222,6 @@ void PDTAimp::CacheSource(ConfusionNet const& src) TRACE_ERR("\n"); } - typedef StringTgtCand::Tokens sPhrase; typedef std::map<StringTgtCand::Tokens,TScores> E2Costs; std::map<Range,E2Costs> cov2cand; |