[gimp/metadata-browser] app: GimpTagCache: move variable to local scope
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: GimpTagCache: move variable to local scope
- Date: Wed, 12 Sep 2012 22:18:52 +0000 (UTC)
commit cbc65c8572e11d8f7c8696d9ef5497a4c383992f
Author: Michael Natterer <mitch gimp org>
Date: Thu Dec 1 20:34:18 2011 +0100
app: GimpTagCache: move variable to local scope
app/core/gimptagcache.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimptagcache.c b/app/core/gimptagcache.c
index 87759ee..b6019c6 100644
--- a/app/core/gimptagcache.c
+++ b/app/core/gimptagcache.c
@@ -148,10 +148,11 @@ static void
gimp_tag_cache_finalize (GObject *object)
{
GimpTagCache *cache = GIMP_TAG_CACHE (object);
- gint i;
if (cache->priv->records)
{
+ gint i;
+
for (i = 0; i < cache->priv->records->len; i++)
{
GimpTagCacheRecord *rec = &g_array_index (cache->priv->records,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]