From a82e24f0244bb6cce7e59f16ddc66528d77d0dd0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 30 Jun 2018 13:10:17 +0200 Subject: [PATCH] config: Initialize glob_t with C99 initializer Should fix a build warning on FreeBSD. Signed-off-by: Andreas Schneider --- src/config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index 92bdfdfd..12792afd 100644 --- a/src/config.c +++ b/src/config.c @@ -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;