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:
Andreas Schneider
2018-06-30 13:10:17 +02:00
parent 60450ef936
commit a82e24f024

View File

@@ -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;