summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-07-16 01:11:03 -0700
committerVinson Lee <[email protected]>2010-07-16 01:11:03 -0700
commit6f6c8ec7b724c088ce087d866d7eadabe95633c3 (patch)
tree730e92bbfd2354c728d0892d2ba3fac201e6e490 /src
parent4b387ee087470df7bf3672882471cd8d108f33cc (diff)
glu/sgi: Remove dead initialization in extract565rev.
Diffstat (limited to 'src')
-rw-r--r--src/glu/sgi/libutil/mipmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libutil/mipmap.c b/src/glu/sgi/libutil/mipmap.c
index 52515dfab78..026ab849c1b 100644
--- a/src/glu/sgi/libutil/mipmap.c
+++ b/src/glu/sgi/libutil/mipmap.c
@@ -5593,7 +5593,7 @@ static void shove565(const GLfloat shoveComponents[],
static void extract565rev(int isSwap,
const void *packedPixel, GLfloat extractComponents[])
{
- GLushort ushort= *(const GLushort *)packedPixel;
+ GLushort ushort;
if (isSwap) {
ushort= __GLU_SWAP_2_BYTES(packedPixel);