Initialized variables passed to GL functions. Command buffer now only allows initialized variables unless it is compiled for native-client. We would need to exclude pepper plugins too. For now I have initialized the gpu demo variables.
TBR=gman
Review URL: http://codereview.chromium.org/7448011

git-svn-id: http://src.chromium.org/svn/trunk/src/third_party/gles2_book@93087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
diff --git a/Chapter_11/Stencil_Test/Stencil_Test.c b/Chapter_11/Stencil_Test/Stencil_Test.c
index b884e8d..696fe25 100644
--- a/Chapter_11/Stencil_Test/Stencil_Test.c
+++ b/Chapter_11/Stencil_Test/Stencil_Test.c
@@ -121,7 +121,7 @@
        { 1.0f, 1.0f, 0.0f, 0.0f }
    };
 
-   GLint   numStencilBits;
+   GLint   numStencilBits = 0;
    GLuint  stencilValues[NumTests] = { 
       0x7, // Result of test 0
       0x0, // Result of test 1
diff --git a/Common/Source/esShader.c b/Common/Source/esShader.c
index 1e5c5e6..80c1376 100644
--- a/Common/Source/esShader.c
+++ b/Common/Source/esShader.c
@@ -42,8 +42,8 @@
 //
 GLuint esLoadShader ( GLenum type, const char *shaderSrc )
 {
-   GLuint shader;
-   GLint compiled;
+   GLuint shader = 0;
+   GLint compiled = 0;
    
    // Create the shader object
    shader = glCreateShader ( type );
@@ -95,10 +95,10 @@
 //
 GLuint esLoadProgram ( const char *vertShaderSrc, const char *fragShaderSrc )
 {
-   GLuint vertexShader;
-   GLuint fragmentShader;
-   GLuint programObject;
-   GLint linked;
+   GLuint vertexShader = 0;
+   GLuint fragmentShader = 0;
+   GLuint programObject = 0;
+   GLint linked = 0;
 
    // Load the vertex/fragment shaders
    vertexShader = esLoadShader ( GL_VERTEX_SHADER, vertShaderSrc );
diff --git a/README.chromium b/README.chromium
index 9adbaff..e79e4fe 100644
--- a/README.chromium
+++ b/README.chromium
@@ -2,6 +2,7 @@
 Short Name: opengles-book
 URL: http://opengles-book.com/
 Version: unknown
+Security Critical: no
 
 Description:
 Code samples from OpenGL ES 2.0 Programming Guide.
@@ -31,4 +32,8 @@
     - Chapter_9/Simple_TextureCubemap/Simple_TextureCubemap.h
     - Chapter_9/TextureWrap/TextureWrap.h
     - Chapter_11/Stencil_Test/Stencil_Test.h
+    
+  Initialized local variables:
+    - Chapter_11/Stencil_Test/Stencil_Test.c
+    - Common/Source/esShader.c