diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2014-02-14 12:07:54 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2014-02-14 12:07:54 +0900 |
commit | f603d5da86a5b56cdf7b4670b75755c3d0dbbc21 (patch) | |
tree | 7d0b7e2022f3922a8615329cd66c2cd07068a639 | |
parent | eb1c452156641cdc14a5ba50b8cf661641baf736 (diff) | |
download | efl-f603d5da86a5b56cdf7b4670b75755c3d0dbbc21.tar.gz |
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.c | 2 | ||||
-rw-r--r-- | src/lib/evas/filters/evas_filter_blur.c | 8 |
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) return ctx; } -/** @hidden private function to reset the filter context */ +/* Private function to reset the filter context. Used from parser.c */ void evas_filter_context_clear(Evas_Filter_Context *ctx) { 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 _gaussian_blur_horiz_alpha(DATA8 *src, DATA8 *dst, int radius, int w, int h) { int *weights; - int k, pow2_div; + int k, pow2_div = 0; weights = alloca((2 * radius + 1) * sizeof(int)); @@ -588,7 +588,7 @@ static void _gaussian_blur_vert_alpha(DATA8 *src, DATA8 *dst, int radius, int w, int h) { int *weights; - int k, pow2_div; + int k, pow2_div = 0; weights = alloca((2 * radius + 1) * sizeof(int)); @@ -609,7 +609,7 @@ static void _gaussian_blur_horiz_rgba(DATA32 *src, DATA32 *dst, int radius, int w, int h) { int *weights; - int k, pow2_div; + int k, pow2_div = 0; weights = alloca((2 * radius + 1) * sizeof(int)); @@ -630,7 +630,7 @@ static void _gaussian_blur_vert_rgba(DATA32 *src, DATA32 *dst, int radius, int w, int h) { int *weights; - int k, pow2_div; + int k, pow2_div = 0; weights = alloca((2 * radius + 1) * sizeof(int)); |