Fix unused variable warning.
authorEric Anholt <eric@anholt.net>
Wed, 31 Mar 2010 04:31:32 +0000 (18:31 -1000)
committerEric Anholt <eric@anholt.net>
Wed, 31 Mar 2010 04:31:32 +0000 (18:31 -1000)
ast_to_hir.cpp

index e037af7137beee5ad7b15270e3ee420506408bd8..5162acea4ed07b7431924e7e5a2d9cfcdaa88b6a 100644 (file)
@@ -1582,7 +1582,6 @@ ast_selection_statement::hir(exec_list *instructions,
                             struct _mesa_glsl_parse_state *state)
 {
    ir_rvalue *const condition = this->condition->hir(instructions, state);
-   struct simple_node *ptr;
 
    /* From page 66 (page 72 of the PDF) of the GLSL 1.50 spec:
     *