summaryrefslogtreecommitdiff
path: root/kaldi_io/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'kaldi_io/src/init.c')
-rw-r--r--kaldi_io/src/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kaldi_io/src/init.c b/kaldi_io/src/init.c
index e8b4ea6..efe3ff7 100644
--- a/kaldi_io/src/init.c
+++ b/kaldi_io/src/init.c
@@ -99,8 +99,7 @@ static const luaL_Reg lookup_feat_repo_methods[] = {
static int label_repo_new(lua_State *L) {
const char *targets_rspecifier = luaL_checkstring(L, 1);
- const char *fmt = luaL_checkstring(L, 2);
- KaldiLabelRepo *repo = kaldi_label_repo_new(targets_rspecifier, fmt);
+ KaldiLabelRepo *repo = kaldi_label_repo_new(targets_rspecifier);
luaT_pushudata(L, repo, nerv_kaldi_label_repo_tname);
return 1;
}