diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2013-09-30 12:57:45 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2013-09-30 12:57:45 +0300 |
commit | d812e93a5912b54fe8612f6c7f6481fad1579716 (patch) | |
tree | ccb676b6ce776f68e78525914f6436b1f71f8429 | |
parent | 09e6d4c4d4a5cfd2dbcfe3651450568c1a8b8af3 (diff) | |
download | xine-lib-d812e93a5912b54fe8612f6c7f6481fad1579716.tar.gz xine-lib-d812e93a5912b54fe8612f6c7f6481fad1579716.tar.bz2 |
goom: fix warning: * may be used uninitialized in this function
-rw-r--r-- | src/post/goom/goom_core.c | 3 | ||||
-rw-r--r-- | src/post/goom/ifs.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/post/goom/goom_core.c b/src/post/goom/goom_core.c index 7d40c0f86..4040aa460 100644 --- a/src/post/goom/goom_core.c +++ b/src/post/goom/goom_core.c @@ -823,6 +823,9 @@ choose_a_goom_line (PluginInfo *goomInfo, float *param1, float *param2, int *cou *amplitude = 1.5f; } break; + default: + *param1 = *param2 = 0; + break; } *couleur = goom_irand(goomInfo->gRandom,6); diff --git a/src/post/goom/ifs.c b/src/post/goom/ifs.c index 4c7ec75d1..1fddae48b 100644 --- a/src/post/goom/ifs.c +++ b/src/post/goom/ifs.c @@ -481,7 +481,7 @@ static void ifs_update (PluginInfo *goomInfo, Pixel * data, Pixel * back, int in static int cycle = 0; int cycle10; - int nbpt; + int nbpt = 0; IFSPoint *points; int i; |