From: Kenneth Graunke Date: Mon, 21 Jun 2010 20:55:12 +0000 (-0700) Subject: glcpp: Initialize error state. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b85c46bcf30a666493c9b4cda03617e8a81b13a;p=mesa.git glcpp: Initialize error state. --- diff --git a/glcpp/glcpp-parse.y b/glcpp/glcpp-parse.y index c314e9556ce..2ce8632a28d 100644 --- a/glcpp/glcpp-parse.y +++ b/glcpp/glcpp-parse.y @@ -950,6 +950,7 @@ glcpp_parser_create (void) parser->output = talloc_strdup(parser, ""); parser->info_log = talloc_strdup(parser, ""); + parser->error = 0; return parser; }