mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 08:24:08 +01:00
authd/authd: a function that calls exit(3) should be marked noreturn
This commit is contained in:
parent
1863a0f818
commit
75ee370d5f
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
|
||||
#define MAXPARA 10
|
||||
|
||||
static void error_cb(rb_helper *helper) __attribute__((noreturn));
|
||||
static void handle_reload(int parc, char *parv[]);
|
||||
static void handle_stat(int parc, char *parv[]);
|
||||
static void handle_options(int parc, char *parv[]);
|
||||
|
@ -210,6 +211,9 @@ main(int argc, char *argv[])
|
|||
|
||||
rb_helper_loop(authd_helper, 0);
|
||||
|
||||
/*
|
||||
* XXX this function will never be called from here -- is it necessary?
|
||||
*/
|
||||
destroy_providers();
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue