Mesa (master): glsl: silence warning about trailing comma in enum list

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


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

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

glsl: silence warning about trailing comma in enum list

---

 src/glsl/ir_function.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/ir_function.cpp b/src/glsl/ir_function.cpp
index 2a4de5b..51d32b4 100644
--- a/src/glsl/ir_function.cpp
+++ b/src/glsl/ir_function.cpp
@@ -27,7 +27,7 @@
 typedef enum {
    PARAMETER_LIST_NO_MATCH,
    PARAMETER_LIST_EXACT_MATCH,
-   PARAMETER_LIST_INEXACT_MATCH, /*< Match requires implicit conversion. */
+   PARAMETER_LIST_INEXACT_MATCH /*< Match requires implicit conversion. */
 } parameter_list_match_t;
 
 /**



More information about the mesa-commit mailing list