Signed-off-by: Maarten Lankhorst <m.b.lankho...@gmail.com> ---
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; _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev