Mesa (glsl-pp-rework-2): glsl/apps: remove unused vars

Brian Paul brianp at kemper.freedesktop.org
Thu Dec 10 07:33:30 PST 2009


Module: Mesa
Branch: glsl-pp-rework-2
Commit: 05eccfe79ec74a04630bcebff4c76accf4f85e0d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=05eccfe79ec74a04630bcebff4c76accf4f85e0d

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Dec 10 08:25:47 2009 -0700

glsl/apps: remove unused vars

---

 src/glsl/apps/compile.c  |    1 -
 src/glsl/apps/process.c  |    2 --
 src/glsl/apps/tokenise.c |    2 --
 src/glsl/apps/version.c  |    2 --
 4 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/glsl/apps/compile.c b/src/glsl/apps/compile.c
index 63c2099..b116542 100644
--- a/src/glsl/apps/compile.c
+++ b/src/glsl/apps/compile.c
@@ -49,7 +49,6 @@ main(int argc,
    char *inbuf;
    struct sl_pp_purify_options options;
    char errmsg[100] = "";
-   unsigned int errline = 0;
    struct sl_pp_context *context;
    struct sl_pp_token_info *tokens;
    unsigned int version;
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c
index b793cc0..d7bc165 100644
--- a/src/glsl/apps/process.c
+++ b/src/glsl/apps/process.c
@@ -40,8 +40,6 @@ main(int argc,
    long size;
    char *inbuf;
    struct sl_pp_purify_options options;
-   char errmsg[100] = "";
-   unsigned int errline = 0;
    struct sl_pp_context *context;
    struct sl_pp_token_info *tokens;
    unsigned int version;
diff --git a/src/glsl/apps/tokenise.c b/src/glsl/apps/tokenise.c
index eb86e3d..91368c3 100644
--- a/src/glsl/apps/tokenise.c
+++ b/src/glsl/apps/tokenise.c
@@ -40,8 +40,6 @@ main(int argc,
    long size;
    char *inbuf;
    struct sl_pp_purify_options options;
-   char errmsg[100] = "";
-   unsigned int errline = 0;
    struct sl_pp_context *context;
    struct sl_pp_token_info *tokens;
    FILE *out;
diff --git a/src/glsl/apps/version.c b/src/glsl/apps/version.c
index b1d0d6f..6f77f23 100644
--- a/src/glsl/apps/version.c
+++ b/src/glsl/apps/version.c
@@ -40,8 +40,6 @@ main(int argc,
    long size;
    char *inbuf;
    struct sl_pp_purify_options options;
-   char errmsg[100] = "";
-   unsigned int errline = 0;
    struct sl_pp_context *context;
    struct sl_pp_token_info *tokens;
    unsigned int version;



More information about the mesa-commit mailing list