Author: Carlos Lopez <[email protected]>
Date:   Fri Oct  5 17:46:10 2012 +0200

Add missing returns for non void functions.

---

 .../src/modules/mod_gradient/lineargradient.cpp    |    2 +-
 .../src/modules/mod_gradient/radialgradient.cpp    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/synfig-core/src/modules/mod_gradient/lineargradient.cpp 
b/synfig-core/src/modules/mod_gradient/lineargradient.cpp
index b4afb4a..35e14e6 100644
--- a/synfig-core/src/modules/mod_gradient/lineargradient.cpp
+++ b/synfig-core/src/modules/mod_gradient/lineargradient.cpp
@@ -318,7 +318,7 @@ LinearGradient::accelerated_cairorender(Context 
context,cairo_surface_t *surface
        cairo_pattern_destroy(pattern); // Not needed more
        cairo_restore(cr);
        cairo_destroy(cr);
-
+       return true;
 }
 
 bool
diff --git a/synfig-core/src/modules/mod_gradient/radialgradient.cpp 
b/synfig-core/src/modules/mod_gradient/radialgradient.cpp
index 1a5571e..e6a3413 100644
--- a/synfig-core/src/modules/mod_gradient/radialgradient.cpp
+++ b/synfig-core/src/modules/mod_gradient/radialgradient.cpp
@@ -306,7 +306,7 @@ RadialGradient::accelerated_cairorender(Context 
context,cairo_surface_t *surface
        cairo_pattern_destroy(pattern); // Not needed more
        cairo_restore(cr);
        cairo_destroy(cr);
-       
+       return true;    
 }
 
 bool


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to