st/va: Remove unused variable coded_size from vlVaEndPicture()
authorKai Wasserbäch <kai@dev.carbon-project.org>
Sat, 20 Aug 2016 16:14:54 +0000 (18:14 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 24 Aug 2016 08:35:53 +0000 (10:35 +0200)
Removes the following GCC warning:
 ../../../../../src/gallium/state_trackers/va/picture.c:542:17: warning:
  unused variable 'coded_size' [-Wunused-variable]
    unsigned int coded_size;
                 ^~~~~~~~~~

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
src/gallium/state_trackers/va/picture.c

index bbb559561f714633ef95e81124d59045a90a3252..a283e8307bfac437b9588ba0b31fd7ec64663a64 100644 (file)
@@ -539,7 +539,6 @@ vlVaEndPicture(VADriverContextP ctx, VAContextID context_id)
    vlVaContext *context;
    vlVaBuffer *coded_buf;
    vlVaSurface *surf;
-   unsigned int coded_size;
    void *feedback;
 
    if (!ctx)