[Xfce4-commits] <thunar:master> No comma-separated variable declarations please.
Jannis Pohlmann
jannis at xfce.org
Sun Aug 30 14:20:01 CEST 2009
Updating branch refs/heads/master
to db3dd7f0b17592d9fd5c188fe1d08cb9b360f2f2 (commit)
from 5b1a862918957501afb561ad5091770d8bb3fa72 (commit)
commit db3dd7f0b17592d9fd5c188fe1d08cb9b360f2f2
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Sun Aug 30 14:18:08 2009 +0200
No comma-separated variable declarations please.
thunar/thunar-file.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 202d31c..9de713c 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -711,8 +711,9 @@ thunar_file_load (ThunarFile *file,
GFile *thumbnail_dir;
gchar *base_name;
gchar *md5_hash;
+ gchar *p;
gchar *thumbnail_dir_path;
- gchar *uri = NULL, *p;
+ gchar *uri = NULL;
_thunar_return_val_if_fail (THUNAR_IS_FILE (file), FALSE);
_thunar_return_val_if_fail (error == NULL || *error == NULL, FALSE);
@@ -811,8 +812,8 @@ thunar_file_load (ThunarFile *file,
if (G_UNLIKELY (exo_str_is_empty (file->custom_icon_name)))
{
- /* make sure we set null if the string is empty else
- * thunar_icon_factory_lookup_icon() will assert */
+ /* make sure we set null if the string is empty else the assertion in
+ * thunar_icon_factory_lookup_icon() will fail */
g_free (file->custom_icon_name);
file->custom_icon_name = NULL;
}
More information about the Xfce4-commits
mailing list