mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
config: Initialize glob_t with C99 initializer
Should fix a build warning on FreeBSD. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -325,7 +325,9 @@ static void local_parse_glob(ssh_session session,
|
||||
int *parsing,
|
||||
int seen[])
|
||||
{
|
||||
glob_t globbuf = {0};
|
||||
glob_t globbuf = {
|
||||
.gl_flags = 0,
|
||||
};
|
||||
int rt;
|
||||
u_int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user