diff options
author | Vinson Lee <vlee@vmware.com> | 2010-07-15 01:42:02 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-07-15 01:42:02 -0700 |
commit | 236bebb0c3a0a2fb39150a9465d59afb62c28af5 (patch) | |
tree | 544b97cb87f09908a90d9f7fb8589441a02360e4 | |
parent | a6392e991580c081b26b28be5c20795d6090283f (diff) |
glu/sgi: Remove dead initialization in extract565.
-rw-r--r-- | src/libutil/mipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/mipmap.c b/src/libutil/mipmap.c index 8e63eaa..52515df 100644 --- a/src/libutil/mipmap.c +++ b/src/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); |