OSDN Git Service

va: fix compiler warnings (drop unused variables).
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 20 Oct 2011 12:05:38 +0000 (14:05 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 20 Oct 2011 12:05:38 +0000 (14:05 +0200)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
va/va.c

diff --git a/va/va.c b/va/va.c
index 36edd64..c64d2d7 100644 (file)
--- a/va/va.c
+++ b/va/va.c
@@ -603,7 +603,6 @@ VAStatus vaCreateSurfaces (
 {
   VADriverContextP ctx;
   VAStatus vaStatus;
-  int ret = 0;
 
   CHECK_DISPLAY(dpy);
   ctx = CTX(dpy);
@@ -790,7 +789,6 @@ VAStatus vaBeginPicture (
 {
   VADriverContextP ctx;
   VAStatus va_status;
-  int ret = 0;
 
   CHECK_DISPLAY(dpy);
   ctx = CTX(dpy);
@@ -811,7 +809,6 @@ VAStatus vaRenderPicture (
 )
 {
   VADriverContextP ctx;
-  int ret = 0;
 
   CHECK_DISPLAY(dpy);
   ctx = CTX(dpy);
@@ -829,7 +826,6 @@ VAStatus vaEndPicture (
 {
   VAStatus va_status;
   VADriverContextP ctx;
-  int ret = 0;
 
   CHECK_DISPLAY(dpy);
   ctx = CTX(dpy);
@@ -853,7 +849,6 @@ VAStatus vaSyncSurface (
 {
   VAStatus va_status;
   VADriverContextP ctx;
-  int ret = 0;
 
   CHECK_DISPLAY(dpy);
   ctx = CTX(dpy);
@@ -1093,7 +1088,6 @@ VAStatus vaQuerySubpictureFormats (
 )
 {
   VADriverContextP ctx;
-  int ret = 0;
 
   CHECK_DISPLAY(dpy);
   ctx = CTX(dpy);