diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-03 15:04:49 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-03 15:04:49 -0600 |
commit | 67c286d20e6f1256950d81aab3f6b54cd4926602 (patch) | |
tree | 16838c780b99b9705887c8bbe1f722bea89d09de /src/mesa | |
parent | 0b4e835b13fb240f9c8f9fdc994cb80b99265845 (diff) |
st/mesa: silence uninitialized var warnings
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 2d37d24ea8..2db28ef0a4 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -526,9 +526,9 @@ st_TexImage(GLcontext * ctx, struct st_texture_image *stImage = st_texture_image(texImage); GLint postConvWidth, postConvHeight; GLint texelBytes, sizeInBytes; - GLuint dstRowStride; + GLuint dstRowStride = 0; struct gl_pixelstore_attrib unpackNB; - enum pipe_transfer_usage transfer_usage; + enum pipe_transfer_usage transfer_usage = 0; DBG("%s target %s level %d %dx%dx%d border %d\n", __FUNCTION__, _mesa_lookup_enum_by_nr(target), level, width, height, depth, border); |