From: Maarten Lankhorst Date: Tue, 20 Dec 2011 11:32:37 +0000 (+0100) Subject: xvmc: Remove unused variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=704d22dfc1da2cb8c6c46d540018ae67d09f4d36;p=mesa.git xvmc: Remove unused variable Signed-off-by: Maarten Lankhorst Signed-off-by: Christian König --- diff --git a/src/gallium/state_trackers/xorg/xvmc/attributes.c b/src/gallium/state_trackers/xorg/xvmc/attributes.c index b115d520932..d40a7b1e6f4 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;