]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - score.c
Get rid of the "table" member in struct table_info.
[paraslash.git] / score.c
diff --git a/score.c b/score.c
index d0799b55650117e00c36401bfd2fb789a3261f85..515a9c9464a143756e0759835aefe36dcadbcab7 100644 (file)
--- a/score.c
+++ b/score.c
@@ -358,8 +358,5 @@ int score_init(struct table_info *ti, const char *db)
        score_table_desc.dir = db;
        ti->desc = &score_table_desc;
        ti->flags = TBLFLAG_SKIP_CREATE;
-       int ret = osl_open_table(ti->desc, &ti->table);
-
-       score_table = ti->table;
-       return ret;
+       return osl_open_table(ti->desc, score_table);
 }