From 6ad3eec04f4a9507a2fd15660ad31a2283b8876e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 18 Mar 2022 20:55:48 +0100 Subject: [PATCH] score.c: Don't try to document possible error codes. Every single one of these was incomplete or outdated. --- score.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/score.c b/score.c index 7eb92259..894e8ca3 100644 --- a/score.c +++ b/score.c @@ -189,8 +189,7 @@ int score_update(const struct osl_row *aft_row, long percent) * \param score Result pointer. * \param aft_row Result pointer. * - * \return Negative on errors, positive on success. Possible errors: Errors - * returned by osl_get_object(). + * \return Standard. */ int get_score_and_aft_row(struct osl_row *score_row, long *score, struct osl_row **aft_row) @@ -237,8 +236,7 @@ int admissible_file_loop(void *data, osl_rbtree_loop_func *func) * \param aft_row Points to the row in the aft of the "best" audio file. * \param score Highest score value in the score table. * - * \return Positive on success, negative on errors. Possible errors: Errors - * returned by osl_rbtree_last_row(), osl_get_object(). + * \return Standard. */ int score_get_best(struct osl_row **aft_row, long *score) { @@ -260,8 +258,7 @@ int score_get_best(struct osl_row **aft_row, long *score) * * \param aft_row The file which is no longer admissible. * - * \return Positive on success, negative on errors. Possible errors: - * Errors returned by osl_get_row() and osl_del_row(). + * \return Standard. * * \sa \ref score_add(). */ -- 2.39.2