forked from enlightenment/efl
Evas: Initialize some variables to zero (to remove compiler warnings).
SVN revision: 59569
This commit is contained in:
parent
34d9e153ba
commit
cee78bdc1f
|
@ -650,9 +650,9 @@ static int
|
||||||
gaussian_filter_h(int rad, uint32_t *in, int w, uint32_t *out)
|
gaussian_filter_h(int rad, uint32_t *in, int w, uint32_t *out)
|
||||||
{
|
{
|
||||||
const uint32_t *points;
|
const uint32_t *points;
|
||||||
int npoints;
|
int npoints = 0;
|
||||||
uint32_t weight;
|
uint32_t weight = 0;
|
||||||
int i, k;
|
int i = 0, k = 0;
|
||||||
uint32_t r, g, b, a;
|
uint32_t r, g, b, a;
|
||||||
|
|
||||||
/* Get twice the radius: even rows have 1 element */
|
/* Get twice the radius: even rows have 1 element */
|
||||||
|
@ -680,9 +680,9 @@ static int
|
||||||
gaussian_filter_hd(int rad, uint32_t *in, int w, uint32_t *out)
|
gaussian_filter_hd(int rad, uint32_t *in, int w, uint32_t *out)
|
||||||
{
|
{
|
||||||
const double *points;
|
const double *points;
|
||||||
int npoints;
|
int npoints = 0;
|
||||||
double weight;
|
double weight = 0.0;
|
||||||
int i, k;
|
int i = 0, k = 0;
|
||||||
double r, g, b, a;
|
double r, g, b, a;
|
||||||
|
|
||||||
/* Get twice the radius: even rows have 1 element */
|
/* Get twice the radius: even rows have 1 element */
|
||||||
|
@ -711,9 +711,9 @@ static int
|
||||||
gaussian_filter_h64(int rad, uint32_t *in, int w, uint32_t *out)
|
gaussian_filter_h64(int rad, uint32_t *in, int w, uint32_t *out)
|
||||||
{
|
{
|
||||||
const uint64_t *points;
|
const uint64_t *points;
|
||||||
int npoints;
|
int npoints = 0;
|
||||||
uint64_t weight;
|
uint64_t weight = 0;
|
||||||
int i, k;
|
int i = 0, k = 0;
|
||||||
uint64_t r, g, b, a;
|
uint64_t r, g, b, a;
|
||||||
|
|
||||||
/* Get twice the radius: even rows have 1 element */
|
/* Get twice the radius: even rows have 1 element */
|
||||||
|
@ -738,9 +738,9 @@ static int
|
||||||
gaussian_filter_v(int rad, uint32_t *in, int h, int skip, uint32_t *out)
|
gaussian_filter_v(int rad, uint32_t *in, int h, int skip, uint32_t *out)
|
||||||
{
|
{
|
||||||
const uint32_t *points;
|
const uint32_t *points;
|
||||||
int npoints;
|
int npoints = 0;
|
||||||
uint32_t weight;
|
uint32_t weight = 0;
|
||||||
int i, k;
|
int i = 0, k = 0;
|
||||||
uint32_t r, g, b, a;
|
uint32_t r, g, b, a;
|
||||||
|
|
||||||
/* Get twice the radius: even rows have 1 element */
|
/* Get twice the radius: even rows have 1 element */
|
||||||
|
@ -770,9 +770,9 @@ static int
|
||||||
gaussian_filter_v64(int rad, uint32_t *in, int h, int skip, uint32_t *out)
|
gaussian_filter_v64(int rad, uint32_t *in, int h, int skip, uint32_t *out)
|
||||||
{
|
{
|
||||||
const uint64_t *points;
|
const uint64_t *points;
|
||||||
int npoints;
|
int npoints = 0;
|
||||||
uint64_t weight;
|
uint64_t weight;
|
||||||
int i, k;
|
int i = 0, k = 0;
|
||||||
uint64_t r, g, b, a;
|
uint64_t r, g, b, a;
|
||||||
|
|
||||||
/* Get twice the radius: even rows have 1 element */
|
/* Get twice the radius: even rows have 1 element */
|
||||||
|
@ -802,9 +802,9 @@ static int
|
||||||
gaussian_filter_vd(int rad, uint32_t *in, int h, int skip, uint32_t *out)
|
gaussian_filter_vd(int rad, uint32_t *in, int h, int skip, uint32_t *out)
|
||||||
{
|
{
|
||||||
const double *points;
|
const double *points;
|
||||||
int npoints;
|
int npoints = 0;
|
||||||
double weight;
|
double weight = 0.0;
|
||||||
int i, k;
|
int i = 0, k = 0;
|
||||||
double r, g, b, a;
|
double r, g, b, a;
|
||||||
|
|
||||||
/* Get twice the radius: even rows have 1 element */
|
/* Get twice the radius: even rows have 1 element */
|
||||||
|
|
|
@ -2833,7 +2833,7 @@ static void
|
||||||
evas_object_image_render_pre(Evas_Object *obj)
|
evas_object_image_render_pre(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
Evas_Object_Image *o;
|
Evas_Object_Image *o;
|
||||||
int is_v, was_v;
|
int is_v = 0, was_v = 0;
|
||||||
Evas *e;
|
Evas *e;
|
||||||
|
|
||||||
/* dont pre-render the obj twice! */
|
/* dont pre-render the obj twice! */
|
||||||
|
|
Loading…
Reference in New Issue