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:
authorphkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230>2011-02-24 19:17:38 +0300
committerphkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230>2011-02-24 19:17:38 +0300
commit93ed0ca1a9d01615454dd6b7ee39089b2a039356 (patch)
tree2cf81b9f60ef4146e68a8f5c8e38a31271b1c183 /moses-chart-cmd/src
parenta3d97584a907511b00b9f0c7e99b8d7d5b93abb1 (diff)
get rid of "unused variable" warnings
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3903 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-chart-cmd/src')
-rw-r--r--moses-chart-cmd/src/IOWrapper.cpp4
-rw-r--r--moses-chart-cmd/src/TranslationAnalysis.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/moses-chart-cmd/src/IOWrapper.cpp b/moses-chart-cmd/src/IOWrapper.cpp
index 4a0418a1d..443bc8bb4 100644
--- a/moses-chart-cmd/src/IOWrapper.cpp
+++ b/moses-chart-cmd/src/IOWrapper.cpp
@@ -193,7 +193,7 @@ void IOWrapper::Backtrack(const MosesChart::Hypothesis *hypo)
}
}
-void IOWrapper::OutputBestHypo(const std::vector<const Factor*>& mbrBestHypo, long /*translationId*/, bool reportSegmentation, bool reportAllFactors)
+void IOWrapper::OutputBestHypo(const std::vector<const Factor*>& mbrBestHypo, long /*translationId*/, bool /* reportSegmentation */, bool /* reportAllFactors */)
{
for (size_t i = 0 ; i < mbrBestHypo.size() ; i++) {
const Factor *factor = mbrBestHypo[i];
@@ -250,7 +250,7 @@ void IOWrapper::OutputDetailedTranslationReport(
m_detailOutputCollector->Write(translationId, out.str());
}
-void IOWrapper::OutputBestHypo(const MosesChart::Hypothesis *hypo, long translationId, bool reportSegmentation, bool reportAllFactors)
+void IOWrapper::OutputBestHypo(const MosesChart::Hypothesis *hypo, long translationId, bool /* reportSegmentation */, bool /* reportAllFactors */)
{
std::ostringstream out;
IOWrapper::FixPrecision(out);
diff --git a/moses-chart-cmd/src/TranslationAnalysis.cpp b/moses-chart-cmd/src/TranslationAnalysis.cpp
index 939954fc8..1ba6052ed 100644
--- a/moses-chart-cmd/src/TranslationAnalysis.cpp
+++ b/moses-chart-cmd/src/TranslationAnalysis.cpp
@@ -14,7 +14,7 @@ using namespace Moses;
namespace TranslationAnalysis
{
-void PrintTranslationAnalysis(ostream &os, const Hypothesis* hypo)
+void PrintTranslationAnalysis(ostream & /* os */, const Hypothesis* /* hypo */)
{
/*
os << endl << "TRANSLATION HYPOTHESIS DETAILS:" << endl;