summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>2011-12-20 12:32:37 +0100
committerChristian König <deathsimple@vodafone.de>2011-12-20 13:12:54 +0100
commit704d22dfc1da2cb8c6c46d540018ae67d09f4d36 (patch)
treeda1e18d563f37e407f7b24cfeab5b0c4998d2fa4
parent68651c3243f5539caaa0f8b81bc2ad025610606d (diff)
xvmc: Remove unused variable
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com> Signed-off-by: Christian König <deathsimple@vodafone.de>
-rw-r--r--src/gallium/state_trackers/xorg/xvmc/attributes.c3
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 b115d52093..d40a7b1e6f 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;