Evas filters: Silence some clang warnings
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 14 Feb 2014 03:07:54 +0000 (12:07 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 14 Feb 2014 03:07:54 +0000 (12:07 +0900)
Remove @hidden tag. It does not exist.
Initialize value of pow2_div. In theory not needed but better be safe :)

src/lib/evas/filters/evas_filter.c
src/lib/evas/filters/evas_filter_blur.c

index f481a24..cd5602c 100644 (file)
@@ -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)
 {
index 07b095a..66e627f 100644 (file)
@@ -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));