From: Kenneth Graunke Date: Wed, 16 Jun 2010 18:56:36 +0000 (-0700) Subject: glcpp: Fix a case of == where = probably ought to be. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0656f6b8750fe6139f74914bfe4e2c394db594e4;p=mesa.git glcpp: Fix a case of == where = probably ought to be. Caught by a GCC warning. --- diff --git a/glcpp/glcpp-parse.y b/glcpp/glcpp-parse.y index 807cf595090..ede2bb88fd1 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;