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
commit73abcb3a73ef5f24f29a3c3f9fda50bc431e9175 (patch)
treef91c1fdae59fb15d5d8bb0e10fec984b188683ed /utils/tsuruoka_maxent.h
parent435ebca6bd25819d263cc522f76e284d803c2110 (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);