aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index f4b0f68299..ddf3986066 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -2104,7 +2104,7 @@ em_utils_url_unescape_amp (const gchar *url)
return NULL;
amps = 0;
- for (i = 0; url [i]; i++) {
+ for (i = 0; url[i]; i++) {
if (url [i] == '&' && strncmp (url + i, "&", 5) == 0)
amps++;
}
@@ -2114,13 +2114,13 @@ em_utils_url_unescape_amp (const gchar *url)
if (!amps)
return buff;
- for (i = 0, j = 0; url [i]; i++, j++) {
- buff [j] = url [i];
+ for (i = 0, j = 0; url[i]; i++, j++) {
+ buff[j] = url[i];
if (url [i] == '&' && strncmp (url + i, "&", 5) == 0)
i += 4;
}
- buff [j] = 0;
+ buff[j] = 0;
return buff;
}
@@ -2330,7 +2330,6 @@ emu_restore_folder_tree_state (EMFolderTree *folder_tree)
GKeyFile *key_file;
const gchar *config_dir;
gchar *filename;
- GError *error = NULL;
g_return_if_fail (folder_tree != NULL);
g_return_if_fail (EM_IS_FOLDER_TREE (folder_tree));