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 807cf5950900cb34800533ee7e974a8539f18af3..ede2bb88fd17416c75a5cdf462d8ceeb1d12d274 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;