summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-16 11:56:36 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 11:25:50 -0700
commit0656f6b8750fe6139f74914bfe4e2c394db594e4 (patch)
tree9c9a89b1441627756950f62fc42ef1050e9a8da4
parentcbaab7093c43d1bc208c446367483f386dcb6bf5 (diff)
glcpp: Fix a case of == where = probably ought to be.
Caught by a GCC warning.
-rw-r--r--glcpp/glcpp-parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/glcpp/glcpp-parse.y b/glcpp/glcpp-parse.y
index 807cf59..ede2bb8 100644
--- a/glcpp/glcpp-parse.y
+++ b/glcpp/glcpp-parse.y
@@ -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;