From: Andre Noll Date: Fri, 18 Mar 2022 18:06:28 +0000 (+0100) Subject: score.c: Remove event handler. X-Git-Tag: v0.7.2~14^2~22 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=cd21d947aca12cacb989dc17330355d12a9bff29;p=paraslash.git score.c: Remove event handler. Event handlers are optional, and the one for the score table did not do anything, so.. --- diff --git a/score.c b/score.c index edc46ed4..0ecdf601 100644 --- a/score.c +++ b/score.c @@ -314,12 +314,6 @@ int clear_score_table(void) return score_open(NULL); } -static int score_event_handler(__a_unused enum afs_events event, - __a_unused struct para_buffer *pb, __a_unused void *data) -{ - return 1; -} - /** * Initialize the scoring subsystem. * @@ -330,5 +324,4 @@ void score_init(struct afs_table *t) t->name = score_table_desc.name; t->open = score_open; t->close = score_close; - t->event_handler = score_event_handler; }