xserver: Branch 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Sun Sep 20 15:12:29 PDT 2009
hw/xfree86/dixmods/extmod/xf86vmode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 20ccc66708bcd55372bff03fa0d78a7846e8c82d
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Sun Sep 20 21:12:31 2009 +1000
xfree86: silence warning: âramplenâ may be used uninitialized
'ramplen' is only set and used if stuff->size > 0 but the compiler doesn't
pick that up.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
diff --git a/hw/xfree86/dixmods/extmod/xf86vmode.c b/hw/xfree86/dixmods/extmod/xf86vmode.c
index 4a288d7..1cfb5cc 100644
--- a/hw/xfree86/dixmods/extmod/xf86vmode.c
+++ b/hw/xfree86/dixmods/extmod/xf86vmode.c
@@ -1540,7 +1540,7 @@ ProcXF86VidModeGetGammaRamp(ClientPtr client)
{
CARD16 *ramp = NULL;
int n, length;
- size_t ramplen;
+ size_t ramplen = 0;
xXF86VidModeGetGammaRampReply rep;
REQUEST(xXF86VidModeGetGammaRampReq);
More information about the xorg-commit
mailing list