[PATCH] Fix "warning: XXX may be used uninitialized in this function"

Ian Romanick idr at freedesktop.org
Wed Feb 4 14:08:13 PST 2009


On Wed, Feb 04, 2009 at 08:18:38PM +0100, Tomas Carnecky wrote:

> glx/indirect_texture_compression.c:
> I assumed that CALL_GetTexLevelParameteriv() does not overwrite
> compsize in case an error occurs.

The changes in this patch are not strictly necessary for correctness.
If they quiet some compiler warnings, then I'm happy.

Acked-by: Ian Romanick <ian.d.romanick at intel.com>

> Signed-off-by: Tomas Carnecky <tom at dbservice.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090204/ce36d9b8/attachment.pgp>


More information about the xorg mailing list