aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/e-msg-composer-select-file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c
index 5f319421b6..6fdf711081 100644
--- a/composer/e-msg-composer-select-file.c
+++ b/composer/e-msg-composer-select-file.c
@@ -197,7 +197,8 @@ select_attach_response(GtkWidget *selector, guint response, struct _EMsgComposer
path = g_path_get_dirname (gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (selector)));
#else
char **files;
-
+ int i;
+
names = NULL;
if ((files = gtk_file_selection_get_selections (GTK_FILE_SELECTION (selector)))) {
for (i = 0; files[i]; i++)