[gimp/metadata-browser] app (gimprc): Delete dead assignment
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app (gimprc): Delete dead assignment
- Date: Fri, 2 Dec 2011 02:09:56 +0000 (UTC)
commit e7ec74b0a33357d1ce0a42f99b6aecd1c9a9dafb
Author: Mukund Sivaraman <muks banu com>
Date: Thu Oct 6 19:23:06 2011 +0530
app (gimprc): Delete dead assignment
app/config/gimprc-unknown.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/app/config/gimprc-unknown.c b/app/config/gimprc-unknown.c
index 4c5959d..fa9d4f7 100644
--- a/app/config/gimprc-unknown.c
+++ b/app/config/gimprc-unknown.c
@@ -115,11 +115,7 @@ gimp_rc_add_unknown_token (GimpConfig *config,
token->key = g_strdup (key);
token->value = g_strdup (value);
- if (last)
- {
- last = g_slist_last (g_slist_append (last, token));
- }
- else
+ if (!last)
{
unknown_tokens = g_slist_append (NULL, token);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]