xvmc: Remove unused variable
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Tue, 20 Dec 2011 11:32:37 +0000 (12:32 +0100)
committerChristian König <deathsimple@vodafone.de>
Tue, 20 Dec 2011 12:12:54 +0000 (13:12 +0100)
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
src/gallium/state_trackers/xorg/xvmc/attributes.c

index b115d52..d40a7b1 100644 (file)
@@ -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;