Mesa (master): glu/sgi: Remove dead initialization in extract565rev.
Vinson Lee
vlee at kemper.freedesktop.org
Fri Jul 16 08:12:22 UTC 2010
Module: Mesa
Branch: master
Commit: 6f6c8ec7b724c088ce087d866d7eadabe95633c3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f6c8ec7b724c088ce087d866d7eadabe95633c3
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Jul 16 01:11:03 2010 -0700
glu/sgi: Remove dead initialization in extract565rev.
---
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 52515df..026ab84 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);
More information about the mesa-commit
mailing list