fuzz: Correctly sort members initialization to prevent GCC warnings
tests/fuzz/ssh_client_fuzzer.cpp:45:1: error: designator order for field ‘ssh_callbacks_struct::userdata’ does not match declaration order in ‘ssh_callbacks_struct’ Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
44de453b22
Коммит
5411e0821f
@ -40,8 +40,8 @@ static int auth_callback(const char *prompt,
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct ssh_callbacks_struct cb = {
|
struct ssh_callbacks_struct cb = {
|
||||||
.auth_function = auth_callback,
|
|
||||||
.userdata = NULL,
|
.userdata = NULL,
|
||||||
|
.auth_function = auth_callback,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void select_loop(ssh_session session, ssh_channel channel)
|
static void select_loop(ssh_session session, ssh_channel channel)
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user