Mesa (master): gallium: silence warnings about trailing commas in enum lists

Brian Paul brianp at kemper.freedesktop.org
Mon Aug 8 08:02:17 PDT 2011


Module: Mesa
Branch: master
Commit: 7d4d8a8de7c5877108040fa692f2914452b10789
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d4d8a8de7c5877108040fa692f2914452b10789

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug  8 09:00:06 2011 -0600

gallium: silence warnings about trailing commas in enum lists

---

 src/gallium/include/pipe/p_defines.h     |    2 +-
 src/gallium/include/pipe/p_video_enums.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 1ef3ae7..795de1f 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -495,7 +495,7 @@ enum pipe_shader_cap
    PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR = 14,
    PIPE_SHADER_CAP_INDIRECT_CONST_ADDR = 15,
    PIPE_SHADER_CAP_SUBROUTINES = 16, /* BGNSUB, ENDSUB, CAL, RET */
-   PIPE_SHADER_CAP_INTEGERS = 17,
+   PIPE_SHADER_CAP_INTEGERS = 17
 };
 
 
diff --git a/src/gallium/include/pipe/p_video_enums.h b/src/gallium/include/pipe/p_video_enums.h
index 492ab84..1378606 100644
--- a/src/gallium/include/pipe/p_video_enums.h
+++ b/src/gallium/include/pipe/p_video_enums.h
@@ -50,7 +50,7 @@ enum pipe_video_cap
    PIPE_VIDEO_CAP_SUPPORTED = 0,
    PIPE_VIDEO_CAP_NPOT_TEXTURES = 1,
    PIPE_VIDEO_CAP_MAX_WIDTH = 2,
-   PIPE_VIDEO_CAP_MAX_HEIGHT = 3,
+   PIPE_VIDEO_CAP_MAX_HEIGHT = 3
 };
 
 enum pipe_video_codec



More information about the mesa-commit mailing list