X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=score.c;fp=score.c;h=10cd254a8dba2926614d0a76ffa29cad90e74792;hp=fa12663cb936535cd43d623c37b331a86896a1cb;hb=d5cf034cce34635e065d91350475199adec80232;hpb=2391dbc88e15dd54207f289bb4fdbaf0e801b1ca diff --git a/score.c b/score.c index fa12663c..10cd254a 100644 --- a/score.c +++ b/score.c @@ -279,18 +279,17 @@ static void score_close(void) static int score_open(__a_unused const char *dir) { - return osl(osl_open_table(&score_table_desc, &score_table)); + assert(osl_open_table(&score_table_desc, &score_table) >= 0); + return 1; } /** * Remove all entries from the score table, but keep the table open. - * - * \return Standard. */ -int clear_score_table(void) +void score_clear(void) { score_close(); - return score_open(NULL); + score_open(NULL); } /** The score table stores (aft row, score) pairs in memory. */