[gegl] fractal-explorer: Handle unmatched fractal type



commit 59e5e298d29442be729be5001af4cbf9cdf80389
Author: Mukund Sivaraman <muks banu com>
Date:   Fri May 2 22:11:01 2014 +0530

    fractal-explorer: Handle unmatched fractal type
    
    This was originally looked at to fix a compiler warning of nexta
    not being initialized.

 operations/common/fractal-explorer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/fractal-explorer.c b/operations/common/fractal-explorer.c
index 971f423..822ff52 100644
--- a/operations/common/fractal-explorer.c
+++ b/operations/common/fractal-explorer.c
@@ -345,7 +345,7 @@ process (GeglOperation       *operation,
               break;
 
             default:
-              break;
+              g_error (_("Unsupported fractal type"));
             }
 
           a = nexta;


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