Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Huck <mhuck@inf.ed.ac.uk>2016-01-06 20:35:19 +0300
committerMatthias Huck <mhuck@inf.ed.ac.uk>2016-01-06 20:35:19 +0300
commitf6b0d988d981006578f59e7d1a040c4444710c97 (patch)
tree5a6cbaff6e35acf017de1ada544dbc33a9cd97c6 /moses/Syntax
parent977e8eaf675c5f1588cbfd2110ca5b8d35ba63cb (diff)
eliminate compiler warnings
Diffstat (limited to 'moses/Syntax')
-rw-r--r--moses/Syntax/F2S/Manager-inl.h2
-rw-r--r--moses/Syntax/S2T/Manager-inl.h2
-rw-r--r--moses/Syntax/T2S/GlueRuleSynthesizer.h4
3 files changed, 2 insertions, 6 deletions
diff --git a/moses/Syntax/F2S/Manager-inl.h b/moses/Syntax/F2S/Manager-inl.h
index 60c0ba25f..e1483e08a 100644
--- a/moses/Syntax/F2S/Manager-inl.h
+++ b/moses/Syntax/F2S/Manager-inl.h
@@ -57,8 +57,6 @@ Manager<RuleMatcher>::Manager(ttasksptr const& ttask)
template<typename RuleMatcher>
void Manager<RuleMatcher>::Decode()
{
- const StaticData &staticData = StaticData::Instance();
-
// Get various pruning-related constants.
const std::size_t popLimit = options()->cube.pop_limit;
const std::size_t ruleLimit = options()->syntax.rule_limit;
diff --git a/moses/Syntax/S2T/Manager-inl.h b/moses/Syntax/S2T/Manager-inl.h
index a21de6a94..7c9c33183 100644
--- a/moses/Syntax/S2T/Manager-inl.h
+++ b/moses/Syntax/S2T/Manager-inl.h
@@ -160,8 +160,6 @@ void Manager<Parser>::FindOovs(const PChart &pchart, boost::unordered_set<Word>
template<typename Parser>
void Manager<Parser>::Decode()
{
- const StaticData &staticData = StaticData::Instance();
-
// Get various pruning-related constants.
const std::size_t popLimit = options()->cube.pop_limit;
const std::size_t ruleLimit = options()->syntax.rule_limit;
diff --git a/moses/Syntax/T2S/GlueRuleSynthesizer.h b/moses/Syntax/T2S/GlueRuleSynthesizer.h
index 3930db8c4..eae25060c 100644
--- a/moses/Syntax/T2S/GlueRuleSynthesizer.h
+++ b/moses/Syntax/T2S/GlueRuleSynthesizer.h
@@ -19,8 +19,8 @@ class GlueRuleSynthesizer : public RuleTrieCreator
Word m_output_default_nonterminal;
public:
GlueRuleSynthesizer(RuleTrie &trie, Word dflt_nonterm)
- : m_ruleTrie(trie)
- , m_output_default_nonterminal(dflt_nonterm)
+ : m_output_default_nonterminal(dflt_nonterm)
+ , m_ruleTrie(trie)
{}
// Synthesize the minimal, montone rule that can be applied to the given node