summaryrefslogtreecommitdiffstats
path: root/source/dialogs
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-11 18:30:44 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-11 18:30:44 +0200
commit67e38cde406103df7689441335cd03cc4a68e695 (patch)
treeb8e6141f7eeada50ad46caa6324728d9f3a7c456 /source/dialogs
parent76244fedc0b9726626a03ca6528ab3e3e1d49fe4 (diff)
Fix some clang compiler warnings
Diffstat (limited to 'source/dialogs')
-rw-r--r--source/dialogs/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c
index a639646c..36392da4 100644
--- a/source/dialogs/ssh.c
+++ b/source/dialogs/ssh.c
@@ -298,7 +298,7 @@ static void parse_ssh_config_file ( const char *filename, char ***retv, unsigned
else {
full_path = g_strdup ( path );
}
- glob_t globbuf = { 0, };
+ glob_t globbuf = { .gl_pathc = 0, .gl_pathv = NULL, .gl_offs = 0 };
if ( glob ( full_path, 0, NULL, &globbuf ) == 0 ) {
for ( size_t iter = 0; iter < globbuf.gl_pathc; iter++ ) {