From 67e38cde406103df7689441335cd03cc4a68e695 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 11 May 2017 18:30:44 +0200 Subject: Fix some clang compiler warnings --- source/dialogs/ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/dialogs/ssh.c') 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++ ) { -- cgit v1.2.3