From: Vinson Lee Date: Thu, 15 Jul 2010 08:42:02 +0000 (-0700) Subject: glu/sgi: Remove dead initialization in extract565. X-Git-Tag: 062012170305~11395 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f6aa567c0719495f2c4410212a89038fff1d7c5;p=profile%2Fivi%2Fmesa.git glu/sgi: Remove dead initialization in extract565. --- diff --git a/src/glu/sgi/libutil/mipmap.c b/src/glu/sgi/libutil/mipmap.c index 8e63eaa..52515df 100644 --- a/src/glu/sgi/libutil/mipmap.c +++ b/src/glu/sgi/libutil/mipmap.c @@ -5552,7 +5552,7 @@ static void shove233rev(const GLfloat shoveComponents[], static void extract565(int isSwap, const void *packedPixel, GLfloat extractComponents[]) { - GLushort ushort= *(const GLushort *)packedPixel; + GLushort ushort; if (isSwap) { ushort= __GLU_SWAP_2_BYTES(packedPixel);