Mesa (master): xvmc: Remove unused variable
Christian König
deathsimple at kemper.freedesktop.org
Tue Dec 20 12:14:52 UTC 2011
Module: Mesa
Branch: master
Commit: 704d22dfc1da2cb8c6c46d540018ae67d09f4d36
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=704d22dfc1da2cb8c6c46d540018ae67d09f4d36
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Tue Dec 20 12:32:37 2011 +0100
xvmc: Remove unused variable
Signed-off-by: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Signed-off-by: Christian König <deathsimple at vodafone.de>
---
src/gallium/state_trackers/xorg/xvmc/attributes.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/xorg/xvmc/attributes.c b/src/gallium/state_trackers/xorg/xvmc/attributes.c
index b115d52..d40a7b1 100644
--- a/src/gallium/state_trackers/xorg/xvmc/attributes.c
+++ b/src/gallium/state_trackers/xorg/xvmc/attributes.c
@@ -53,7 +53,6 @@ static const XvAttribute attributes[] = {
PUBLIC
XvAttribute* XvMCQueryAttributes(Display *dpy, XvMCContext *context, int *number)
{
- XvMCContextPrivate *context_priv;
XvAttribute *result;
assert(dpy && number);
@@ -61,8 +60,6 @@ XvAttribute* XvMCQueryAttributes(Display *dpy, XvMCContext *context, int *number
if (!context || !context->privData)
return NULL;
- context_priv = context->privData;
-
result = malloc(sizeof(attributes));
if (!result)
return NULL;
More information about the mesa-commit
mailing list