[lasem] cairo: remove unused code.



commit 027294e69332e9698ad0e7bcea9543794ed2ae25
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Oct 21 00:39:55 2012 +0200

    cairo: remove unused code.

 src/lsmcairo.c |   32 --------------------------------
 1 files changed, 0 insertions(+), 32 deletions(-)
---
diff --git a/src/lsmcairo.c b/src/lsmcairo.c
index d031042..12e0348 100644
--- a/src/lsmcairo.c
+++ b/src/lsmcairo.c
@@ -173,22 +173,6 @@ box_blur (LsmFilterSurface *input,
 
 	if (kw >= 1) {
 		for (ch = 0; ch < 4; ch++) {
-#if 0
-			switch (ch) {
-				case 0:
-					if (!op.Rused)
-						continue;
-				case 1:
-					if (!op.Gused)
-						continue;
-				case 2:
-					if (!op.Bused)
-						continue;
-				case 3:
-					if (!op.Aused)
-						continue;
-			}
-#endif
 			for (y = y1; y < y2; y++) {
 				sum = 0;
 				for (x = x1; x < x1 + kw; x++) {
@@ -215,22 +199,6 @@ box_blur (LsmFilterSurface *input,
 
 	if (kh >= 1) {
 		for (ch = 0; ch < 4; ch++) {
-#if 0
-			switch (ch) {
-				case 0:
-					if (!op.Rused)
-						continue;
-				case 1:
-					if (!op.Gused)
-						continue;
-				case 2:
-					if (!op.Bused)
-						continue;
-				case 3:
-					if (!op.Aused)
-						continue;
-			}
-#endif
 			for (x = x1; x < x2; x++) {
 				sum = 0;
 



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