summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-02-14 12:07:54 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-14 12:07:54 +0900
commitf603d5da86a5b56cdf7b4670b75755c3d0dbbc21 (patch)
tree7d0b7e2022f3922a8615329cd66c2cd07068a639
parenteb1c452156641cdc14a5ba50b8cf661641baf736 (diff)
Evas filters: Silence some clang warnings
Remove @hidden tag. It does not exist. Initialize value of pow2_div. In theory not needed but better be safe :)
-rw-r--r--src/lib/evas/filters/evas_filter.c2
-rw-r--r--src/lib/evas/filters/evas_filter_blur.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/evas/filters/evas_filter.c b/src/lib/evas/filters/evas_filter.c
index f481a24568..cd5602c760 100644
--- a/src/lib/evas/filters/evas_filter.c
+++ b/src/lib/evas/filters/evas_filter.c
@@ -62,7 +62,7 @@ evas_filter_context_new(Evas_Public_Data *evas, Eina_Bool async)
62 return ctx; 62 return ctx;
63} 63}
64 64
65/** @hidden private function to reset the filter context */ 65/* Private function to reset the filter context. Used from parser.c */
66void 66void
67evas_filter_context_clear(Evas_Filter_Context *ctx) 67evas_filter_context_clear(Evas_Filter_Context *ctx)
68{ 68{
diff --git a/src/lib/evas/filters/evas_filter_blur.c b/src/lib/evas/filters/evas_filter_blur.c
index 07b095ae28..66e627fbce 100644
--- a/src/lib/evas/filters/evas_filter_blur.c
+++ b/src/lib/evas/filters/evas_filter_blur.c
@@ -567,7 +567,7 @@ static void
567_gaussian_blur_horiz_alpha(DATA8 *src, DATA8 *dst, int radius, int w, int h) 567_gaussian_blur_horiz_alpha(DATA8 *src, DATA8 *dst, int radius, int w, int h)
568{ 568{
569 int *weights; 569 int *weights;
570 int k, pow2_div; 570 int k, pow2_div = 0;
571 571
572 weights = alloca((2 * radius + 1) * sizeof(int)); 572 weights = alloca((2 * radius + 1) * sizeof(int));
573 573
@@ -588,7 +588,7 @@ static void
588_gaussian_blur_vert_alpha(DATA8 *src, DATA8 *dst, int radius, int w, int h) 588_gaussian_blur_vert_alpha(DATA8 *src, DATA8 *dst, int radius, int w, int h)
589{ 589{
590 int *weights; 590 int *weights;
591 int k, pow2_div; 591 int k, pow2_div = 0;
592 592
593 weights = alloca((2 * radius + 1) * sizeof(int)); 593 weights = alloca((2 * radius + 1) * sizeof(int));
594 594
@@ -609,7 +609,7 @@ static void
609_gaussian_blur_horiz_rgba(DATA32 *src, DATA32 *dst, int radius, int w, int h) 609_gaussian_blur_horiz_rgba(DATA32 *src, DATA32 *dst, int radius, int w, int h)
610{ 610{
611 int *weights; 611 int *weights;
612 int k, pow2_div; 612 int k, pow2_div = 0;
613 613
614 weights = alloca((2 * radius + 1) * sizeof(int)); 614 weights = alloca((2 * radius + 1) * sizeof(int));
615 615
@@ -630,7 +630,7 @@ static void
630_gaussian_blur_vert_rgba(DATA32 *src, DATA32 *dst, int radius, int w, int h) 630_gaussian_blur_vert_rgba(DATA32 *src, DATA32 *dst, int radius, int w, int h)
631{ 631{
632 int *weights; 632 int *weights;
633 int k, pow2_div; 633 int k, pow2_div = 0;
634 634
635 weights = alloca((2 * radius + 1) * sizeof(int)); 635 weights = alloca((2 * radius + 1) * sizeof(int));
636 636