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
commit3044d6d1c6d428e8d06c255e3a2d739bcd187679 (patch)
tree81baa7315011a57ee363f93f0aa3e1e94affe5d1 /utils
parentc84ef9590d11819b7f8441a53b1699a912d949e1 (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() {