summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-06-29 18:45:26 -0700
committerChris Dyer <cdyer@cs.cmu.edu>2012-06-29 18:45:26 -0700
commitb73722556f2bbc51736b716c613430250abef907 (patch)
tree62928fe4f1269ca1ca616f7009db920eac361c1d /utils
parentb3a7f6c5d97acac3cd6b14de194eadaa18175fda (diff)
add option for entropy optimization
Diffstat (limited to 'utils')
-rw-r--r--utils/fdict.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/fdict.h b/utils/fdict.h
index 71547d2e..eb853fb2 100644
--- a/utils/fdict.h
+++ b/utils/fdict.h
@@ -33,6 +33,8 @@ struct FD {
assert(dict_.max() == 0); // dictionary must not have
// been added to
hash_ = new PerfectHashFunction(cmph_file);
+#else
+ (void) cmph_file;
#endif
}
static inline int NumFeats() {