glcpp: Fix a case of == where = probably ought to be.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 16 Jun 2010 18:56:36 +0000 (11:56 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Jun 2010 18:25:50 +0000 (11:25 -0700)
Caught by a GCC warning.

glcpp/glcpp-parse.y

index 807cf59..ede2bb8 100644 (file)
@@ -1356,7 +1356,7 @@ _glcpp_parser_expand_token_list (glcpp_parser_t *parser,
                                else
                                        list->head = last->next;
                                if (last == list->tail)
-                                       list->tail == NULL;
+                                       list->tail = NULL;
                        }
                } else {
                        node_prev = node;