[gimp] app: remove unused variables (clean out build warnings).



commit b0731f9aed1477e09426174173c2d8c19fe72ab7
Author: Jehan <jehan girinstud io>
Date:   Tue Jan 12 10:10:06 2016 +0100

    app: remove unused variables (clean out build warnings).
    
    There are still unused variables in gimp_mybrush_get_checksum() and
    gimp_mybrush_get_memsize() but these seem to be because of pending
    implementations. So I leave the warnings.

 app/core/gimpmybrush.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/app/core/gimpmybrush.c b/app/core/gimpmybrush.c
index 36d7233..c2a96f2 100644
--- a/app/core/gimpmybrush.c
+++ b/app/core/gimpmybrush.c
@@ -126,8 +126,6 @@ gimp_mybrush_set_property (GObject      *object,
                            const GValue *value,
                            GParamSpec   *pspec)
 {
-  GimpMybrush *brush = GIMP_MYBRUSH (object);
-
   switch (property_id)
     {
     default:
@@ -142,8 +140,6 @@ gimp_mybrush_get_property (GObject    *object,
                            GValue     *value,
                            GParamSpec *pspec)
 {
-  GimpMybrush *brush = GIMP_MYBRUSH (object);
-
   switch (property_id)
     {
     default:
@@ -176,8 +172,6 @@ gimp_mybrush_get_description (GimpViewable  *viewable,
 static void
 gimp_mybrush_dirty (GimpData *data)
 {
-  GimpMybrush *brush = GIMP_MYBRUSH (data);
-
   GIMP_DATA_CLASS (parent_class)->dirty (data);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]