preprocessor: Initialize a potentially uninitialized variable.
authorCarl Worth <cworth@cworth.org>
Tue, 22 Jun 2010 22:51:34 +0000 (15:51 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 23 Jun 2010 23:13:31 +0000 (16:13 -0700)
commitc42e64099b80e112eb0b172801a7107e143f78dc
tree8afa857e5620ab585c01b61737638d0571c07587
parent726faddda2d69ea0f81da8e81c6a2e0f3fb6fdda
preprocessor: Initialize a potentially uninitialized variable.

My current reading of the relevant static functions suggests that last
is never used without being uninitialized, (we only use it if the
expansion function returned non-NULL and the expansion functions
always set it before returning non-NULL).

Apparently gcc isn't coming to the same conclusion. Initializing this
to NULL nicely quites gcc and will guarantee a nice, early segfault if
my anaylsis turns out to be wrong.
glcpp/glcpp-parse.y