diff options
author | Vinson Lee <vlee@vmware.com> | 2010-07-16 01:11:03 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-07-16 01:11:03 -0700 |
commit | 3b56683b996ff23567c4efc8996a6d9ba71e922f (patch) | |
tree | 9ffec7d715e791a1fee41b98088185f0b4545c15 /src/libutil | |
parent | 236bebb0c3a0a2fb39150a9465d59afb62c28af5 (diff) | |
download | glu-3b56683b996ff23567c4efc8996a6d9ba71e922f.tar.gz |
glu/sgi: Remove dead initialization in extract565rev.
Diffstat (limited to 'src/libutil')
-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 52515df..026ab84 100644 --- a/src/libutil/mipmap.c +++ b/src/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); |