summaryrefslogtreecommitdiff
path: root/utils/tsuruoka_maxent.h
diff options
context:
space:
mode:
authorWu, Ke <wuke@cs.umd.edu>2014-10-10 17:56:53 -0400
committerWu, Ke <wuke@cs.umd.edu>2014-10-10 17:56:53 -0400
commit2a33cd8b5106fa40ae1992a732e6a95720ff1dfc (patch)
tree2b4fa350f544e86571f8b696c87705b45c2a01e1 /utils/tsuruoka_maxent.h
parente632e84862109742b81f3bf32d5133660e01a33c (diff)
Eliminate compiler warnings
Diffstat (limited to 'utils/tsuruoka_maxent.h')
-rw-r--r--utils/tsuruoka_maxent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/tsuruoka_maxent.h b/utils/tsuruoka_maxent.h
index d1b062fe..550a4b7f 100644
--- a/utils/tsuruoka_maxent.h
+++ b/utils/tsuruoka_maxent.h
@@ -34,7 +34,7 @@ struct Tsuruoka_Maxent {
}
void fnTrain(const char* pszInstanceFName, const char* pszAlgorithm,
- const char* pszModelFName, int iNumIteration) {
+ const char* pszModelFName, int /*iNumIteration*/) {
assert(strcmp(pszAlgorithm, "l1") == 0 || strcmp(pszAlgorithm, "l2") == 0 ||
strcmp(pszAlgorithm, "sgd") == 0 ||
strcmp(pszAlgorithm, "SGD") == 0);