aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-06-30 13:10:17 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-30 14:37:04 +0200
commita82e24f0244bb6cce7e59f16ddc66528d77d0dd0 (patch)
tree370056e00fc6c6b48c4dfdf8c01e378381751104 /src/config.c
parent60450ef936eb12353a8844a4cee866c115bfc4de (diff)
downloadlibssh-a82e24f0244bb6cce7e59f16ddc66528d77d0dd0.tar.gz
libssh-a82e24f0244bb6cce7e59f16ddc66528d77d0dd0.tar.xz
libssh-a82e24f0244bb6cce7e59f16ddc66528d77d0dd0.zip
config: Initialize glob_t with C99 initializer
Should fix a build warning on FreeBSD. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c4
1 files changed, 3 insertions, 1 deletions
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;