Mesa (master): glu/sgi: Remove dead initialization in extract565.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Jul 15 08:43:39 UTC 2010
Module: Mesa
Branch: master
Commit: 4f6aa567c0719495f2c4410212a89038fff1d7c5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f6aa567c0719495f2c4410212a89038fff1d7c5
Author: Vinson Lee <vlee at vmware.com>
Date: Thu Jul 15 01:42:02 2010 -0700
glu/sgi: Remove dead initialization in extract565.
---
src/glu/sgi/libutil/mipmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
More information about the mesa-commit
mailing list