Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 2dcb2c648fa3bfb8050dd5c5cc81e6d5 > files > 7

jahshaka-2.0.0-1mdv2007.1.src.rpm

--- jahshaka/plugins/jfxplugins/vfxmandelbrot/vfxmandelbrot.cpp.ark	2006-03-26 19:05:21.000000000 +0200
+++ jahshaka/plugins/jfxplugins/vfxmandelbrot/vfxmandelbrot.cpp	2006-03-26 19:05:29.000000000 +0200
@@ -205,7 +205,7 @@
 QRgb MyPlugin::getMandelbrotColor( int manval, QRgb mypix, int mode )
 {
 
-    int r,g,b;
+    int r=0,g=0,b=0;
 
     switch(mode) {
 
--- jahshaka/plugins/jfxplugins/vfxpolarnoise/vfxpolarnoise.cpp.ark	2006-03-26 19:03:04.000000000 +0200
+++ jahshaka/plugins/jfxplugins/vfxpolarnoise/vfxpolarnoise.cpp	2006-03-26 19:03:17.000000000 +0200
@@ -90,7 +90,7 @@
     //main imageprocessing loop
 
     //int r1, g1, b1;
-    int rgbval[3];
+    int rgbval[3] = { 0,0,0 };
 
 
     for (int x=1; x < w-1; x++)
--- jahshaka/plugins/jfxplugins/vfxpolarwarp/vfxpolarwarp.cpp.ark	2006-03-26 19:05:00.000000000 +0200
+++ jahshaka/plugins/jfxplugins/vfxpolarwarp/vfxpolarwarp.cpp	2006-03-26 19:05:06.000000000 +0200
@@ -83,7 +83,7 @@
     //main imageprocessing loop
 
     //int r1, g1, b1;
-    int rgbval[3];
+    int rgbval[3] = {0,0,0};
 
 
     for (int x=1; x < Width-1; x++)
--- jahshaka/plugins/jitplugins/jitgaussnoise/jitgaussnoise.cpp.ark	2006-03-26 19:05:54.000000000 +0200
+++ jahshaka/plugins/jitplugins/jitgaussnoise/jitgaussnoise.cpp	2006-03-26 19:06:02.000000000 +0200
@@ -80,7 +80,7 @@
     //////////////////////////////////////////////////////
     // main loop here
 
-    int r1, g1, b1;
+    int r1=0, g1=0, b1=0;
 
     for ( int y=0; y<h; y++ )
     {
--- jahshaka/plugins/jitplugins/jitnegexnoise/jitnegexnoise.cpp.ark	2006-03-26 19:06:18.000000000 +0200
+++ jahshaka/plugins/jitplugins/jitnegexnoise/jitnegexnoise.cpp	2006-03-26 19:06:26.000000000 +0200
@@ -79,7 +79,7 @@
     //////////////////////////////////////////////////////
     // main loop here
 
-    int r1, g1, b1;
+    int r1=0, g1=0, b1=0;
 
     for ( int y=0; y<h; y++ )
     {
--- jahshaka/plugins/rfxplugins/rfxnvdiffusion/rfxnvdiffusion.cpp.ark	2006-03-26 19:01:28.000000000 +0200
+++ jahshaka/plugins/rfxplugins/rfxnvdiffusion/rfxnvdiffusion.cpp	2006-03-26 19:01:52.000000000 +0200
@@ -115,7 +115,7 @@
     GLuint                                      fragment_program_handle;
 
     unsigned char*                              vertex_program;
-    unsigned char*                              fragment_program;
+    unsigned char*                              fragment_program=0;
 
     static int                                  count = 0;
 
--- jahshaka/plugins/rfxplugins/rfxnvlighting/rfxnvlighting.cpp.ark	2006-03-26 19:02:24.000000000 +0200
+++ jahshaka/plugins/rfxplugins/rfxnvlighting/rfxnvlighting.cpp	2006-03-26 19:02:30.000000000 +0200
@@ -112,7 +112,7 @@
     GLuint                                      fragment_program_handle;
 
     unsigned char*                              vertex_program;
-    unsigned char*                              fragment_program;
+    unsigned char*                              fragment_program = 0;
 
     int                                         row;
     int                                         column;