diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-05-11 18:30:44 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-05-11 18:30:44 +0200 |
commit | 67e38cde406103df7689441335cd03cc4a68e695 (patch) | |
tree | b8e6141f7eeada50ad46caa6324728d9f3a7c456 /source/dialogs | |
parent | 76244fedc0b9726626a03ca6528ab3e3e1d49fe4 (diff) |
Fix some clang compiler warnings
Diffstat (limited to 'source/dialogs')
-rw-r--r-- | source/dialogs/ssh.c | 2 |
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++ ) { |